Max num value: Difference between revisions
From LimeSurvey Manual
(Created page with "<translate> <!--T:1--> <languages /> <onlyinclude> ===Maximum sum value (max_num_value)=== <!--T:401--> <!--T:402--> '''Description''' <!--T:403--> Allows you to set the ma...") |
mNo edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
<!--T:403--> | <!--T:403--> | ||
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 | ||
*Any number | *Any number | ||
*Any SGQA code | *Any SGQA code | ||
*Any question code (variable name) | *Any question code (variable name) | ||
*Any equation, using [[ | *Any equation, using [[ExpressionScript - Presentation|ExpressionScript]] syntax, without surrounding curly braces. | ||
<!--T: | <!--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: | <!--T:408--> | ||
</onlyinclude> | |||
< | <!--T:409--> | ||
[[Category:Question Settings]][[Category:Question Input Options]] | |||
</translate> | </translate> |
Latest revision as of 11:38, 15 April 2020
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 ExpressionScript 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.