Actions

QS

Max num value: Difference between revisions

From LimeSurvey Manual

(Marked this version for translation)
mNo edit summary
(3 intermediate revisions by 3 users not shown)
Line 10: Line 10:


<!--T:403-->
<!--T:403-->
Allows you to set the maximum sum total of all predefined answers that will be accepted. The value entered for this attribute becomes the maximum value.
This setting is available in the multiple numeric and numeric array input questions. When this attribute is set, the input value(s) (depending on the type of question) must meet this criteria -  the (sum of) number(s) has to be smaller than the value you type in this box. Otherwise, the respondent will not be able to submit her answer.


<!--T:404-->
<!--T:404-->
'''Valid values'''
'''Valid values'''
*Any integer value above 0
*Any integer value above 0
<!--T:405-->
<div class="simplebox">And as of Version 1.92</div>
*Any number
*Any number
*Any SGQA code
*Any SGQA code
Line 23: Line 20:
*Any equation, using [[Expression Manager|Expression Manager]] syntax, without surrounding curly braces.
*Any equation, using [[Expression Manager|Expression Manager]] syntax, without surrounding curly braces.


<!--T:406-->
<!--T:407-->
'''Example'''
'''Example'''
 
*Setting a value of 20 would mean that the total value of all numbers entered in all input boxes for this question may not exceed 20. Totals of 21 would not be allowed. A total of 15 would be acceptable.
<!--T:407-->
Setting a value of 20 for this would mean that the total value of all numbers entered in all input boxes for this question may not exceed 20. Totals of 21 would be not allowed. A total of 15 would be acceptable.


<!--T:408-->
<!--T:408-->
</onlyinclude>
</onlyinclude>
<!--T:409-->
[[Category:Question Settings]][[Category:Question Input Options]]


</translate>
</translate>

Revision as of 12:26, 22 March 2018


Maximum sum value (max_num_value)

Description

This setting is available in the multiple numeric and numeric array input questions. When this attribute is set, the input value(s) (depending on the type of question) must meet this criteria - the (sum of) number(s) has to be smaller than the value you type in this box. Otherwise, the respondent will not be able to submit her answer.

Valid values

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

Example

  • Setting a value of 20 would mean that the total value of all numbers entered in all input boxes for this question may not exceed 20. Totals of 21 would not be allowed. A total of 15 would be acceptable.