only show first error of a certain type
This commit is contained in:
parent
12da1c3d0d
commit
5e8d0a8978
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ class SurveyView(ConceptView):
|
||||||
minAnswers = len(qugroup.questions)
|
minAnswers = len(qugroup.questions)
|
||||||
if count < minAnswers:
|
if count < minAnswers:
|
||||||
errors.append('Please answer the minimum number of questions.')
|
errors.append('Please answer the minimum number of questions.')
|
||||||
|
break
|
||||||
return errors
|
return errors
|
||||||
|
|
||||||
def getInfoText(self, qugroup):
|
def getInfoText(self, qugroup):
|
||||||
|
|
Loading…
Add table
Reference in a new issue