Max subquestions: Difference between revisions
From LimeSurvey Manual
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
<!--T:3--> | <!--T:3--> | ||
This option limits the number of columns created in the database (more precisely, in the answers table). If you give a value lower than {{QS:max_answers}, then this attribute will represent the upper limit of the maximum choices you can make. | This option limits the number of columns created in the database (more precisely, in the answers table). If you give a value lower than {{QS:max_answers|maximum answers option}}, then this attribute will represent the upper limit of the maximum choices you can make. | ||
'''Valid Values''' | '''Valid Values''' |
Revision as of 17:22, 29 March 2018
Maximum columns for answers (max_col_for_ans)
Description
This option limits the number of columns created in the database (more precisely, in the answers table). If you give a value lower than
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. , then this attribute will represent the upper limit of the maximum choices you can make.
Valid Values
- Any numerical value
- The default value is the total number of answer options your question contains. The number will be displayed after you activate for the first time the survey.