Actions

QS

Max answers: Difference between revisions

From LimeSurvey Manual

No edit summary
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 10: Line 10:


<!--T:374-->
<!--T:374-->
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.


<!--T:375-->
<!--T:375-->
'''Valid values'''
'''Valid values'''
<!--T:381-->
*Any number value
*Any number value
 
*Any [[SGQA_identifier|SGQA]] code
<!--T:376-->
<div class="simplebox">And as of Version 1.92</div>
*Any SGQA code
*Any question code (variable name)
*Any question code (variable name)
*Any equation, using [[Expression Manager|Expression Manager]] syntax, without surrounding curly braces.
*Any equation, using [[ExpressionScript - Presentation|ExpressionScript]] syntax, without surrounding curly braces.


<!--T:377-->
<!--T:377-->
Line 26: Line 25:


<!--T:378-->
<!--T:378-->
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.
 
<!--T:379-->
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Advanced Question Settings]]
<!--T:380-->
[[Category:Question Settings]][[Category:Question Logic Options]]


</translate>
</translate>

Latest revision as of 11:27, 15 April 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.