only show first error of a certain type

This commit is contained in:
Helmut Merz 2013-03-18 13:24:43 +01:00
parent 12da1c3d0d
commit 5e8d0a8978

View file

@ -87,6 +87,7 @@ class SurveyView(ConceptView):
minAnswers = len(qugroup.questions)
if count < minAnswers:
errors.append('Please answer the minimum number of questions.')
break
return errors
def getInfoText(self, qugroup):