Actions

QS

Max num value: Difference between revisions

From LimeSurvey Manual

mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
*Any SGQA code
*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:407-->
<!--T:407-->
Line 28: Line 28:


<!--T:409-->
<!--T:409-->
[[Category:Question Settings]][[Category:Question Display Options]]
[[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.