Actions

QS

Slider min: Difference between revisions

From LimeSurvey Manual

No edit summary
mNo edit summary
Line 10: Line 10:


<!--T:603-->
<!--T:603-->
When "slider_layout' is set, this question attribute sets the value of the left-end of the slider. In this condition, and if minimum value is not set : this value is used for minimum value. Expression manager can be used (without brace), but if before page is shown the value is not a number, then default of 0 is used.  
When "slider_layout' is set, this question attribute sets the value of the left-end of the slider. By default, this value is set to 0. The expression manager can be used (without curly brackets) to set up a minimum value. However, please note that this value has to be calculated before the expression is displayed. For example, no value will be displayed if the expression and the questions and/or question answers used within it are displayed on the same page, else the slider's minimum value will be 0.


<!--T:604-->
{{Alert|title=Attention|text=Please note that if the expression typed within the box contains an error, a logic error will be displayed to the user below the question.}}
'''Example'''


<!--T:605-->
'''Valid values'''
* 10
* Any number
* if(QCODE<0,QCODE,0)
* [[Expression Manager|Expressions]], without curly brackets.
 
<!--T:606-->
</onlyinclude>


<!--T:607-->
<!--T:607-->
[[Category:Question Settings]][[Category:Advanced Question Settings]]
[[Category:Question Settings]][[Category:Question Slider Options]]


</translate>
</translate>

Revision as of 11:45, 12 April 2018


Slider minimal value (slider_min)

Description

When "slider_layout' is set, this question attribute sets the value of the left-end of the slider. By default, this value is set to 0. The expression manager can be used (without curly brackets) to set up a minimum value. However, please note that this value has to be calculated before the expression is displayed. For example, no value will be displayed if the expression and the questions and/or question answers used within it are displayed on the same page, else the slider's minimum value will be 0.

  Attention : Please note that if the expression typed within the box contains an error, a logic error will be displayed to the user below the question.


Valid values