Actions

QS

Max answers/en: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
'''Description'''
'''Description'''


Can be used to limit the total number of answers a user can select in a multiple choice question.
It can be used to limit the total number of answers a user can select in a multiple choice question.


'''Valid values'''
'''Valid values'''
*Any number value  
 
*Any number value
*Any [[SGQA_identifier|SGQA]] code
*Any question code (variable name)
*Any equation, using [[ExpressionScript - Presentation|ExpressionScript]] syntax, without surrounding curly braces.


'''Example'''
'''Example'''


If set to 2, the user will only be able to check at most 2 checkboxes or 1 checkbox + fill the Other field (if any). At ranking questions the participant would be able to only select 2 items at most.
If set to 2, the user will only be able to check at most two checkboxes or one checkbox + fill the "Other" field (if any). For the [[Question_type_-_Ranking|Ranking question type]], the participant would be able to select maximum two items.
 
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Advanced Question Settings]]
[[Category:Question Settings]][[Category:Question Logic Options]]

Latest revision as of 16:25, 19 May 2020


Maximum answers (max_answers)

Description

It can be used to limit the total number of answers a user can select in a multiple choice question.

Valid values

  • Any number value
  • Any SGQA code
  • Any question code (variable name)
  • Any equation, using ExpressionScript syntax, without surrounding curly braces.

Example

If set to 2, the user will only be able to check at most two checkboxes or one checkbox + fill the "Other" field (if any). For the Ranking question type, the participant would be able to select maximum two items.