Actions

QS

Min answers/fr: Difference between revisions

From LimeSurvey Manual

(Created page with "{{FeatureChange/fr|v=1.92}}")
(Updating to match new version of source page)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="mw-translate-fuzzy">
<languages />
<languages />
<onlyinclude>
<onlyinclude>
</div>


<onlyinclude>
===Minimum answers (min_answers)===
===Minimum answers (min_answers)===


'''Description'''
'''Description'''


Can be used to ensure that a user selects at least a certain number of answers in a multiple choice question.
This function can be used to ensure that a user selects at least a certain number of answers in a multiple choice question.


<div class="mw-translate-fuzzy">
'''Valeurs possibles'''
'''Valeurs possibles'''
</div>


*Any integer value above 0
*Any integer value above 0
{{FeatureChange/fr|v=1.92}}
*Any number
*Any number
*Any SGQA code
*Any [[SGQA_identifier|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.


'''Example'''
'''Exemple'''


If set to 3, the user will only be able to submit the survey form if they have selected at least three check-boxes. In ranking questions, this ensures that at least three items are ranked. '''Please note that if you use this attribute with Ranking questions please set the question to non-mandatory - because when you leave it at mandatory all items need to be ranked which is counter-active to this feature.'''
If set to X (a random number), the users can submit the survey form if they select at least X checkboxes. If this option is utilised for ranking questions, this ensures that at least three items are ranked before allowing the respondent to submit the answers/survey.  


<div class="simplebox">[[File:help.png]] Please note that if you use this attribute with Ranking questions, you have to set the question to '''non-mandatory'''. Otherwise, all the items need to be ranked which is counter-intuitive if you decide to use the '''min_answers''' function too.</div>
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Advanced Question Settings]]
<div class="mw-translate-fuzzy">
[[Category:Question Settings/fr]][[Category:Advanced Question Settings/fr]]
</div>

Revision as of 16:55, 19 May 2020


Minimum answers (min_answers)

Description

This function can be used to ensure that a user selects at least a certain number of answers in a multiple choice question.

Valeurs possibles

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

Exemple

If set to X (a random number), the users can submit the survey form if they select at least X checkboxes. If this option is utilised for ranking questions, this ensures that at least three items are ranked before allowing the respondent to submit the answers/survey.

Please note that if you use this attribute with Ranking questions, you have to set the question to non-mandatory. Otherwise, all the items need to be ranked which is counter-intuitive if you decide to use the min_answers function too.