Actions

QS

Slider min: Difference between revisions

From LimeSurvey Manual

No edit summary
(Marked this version for translation)
 
(6 intermediate revisions by one other user not shown)
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 custom value is displayed if the expression and the question and/or question answer codes used within the respective expression [[General settings|are displayed on the same page]]. If this happens, then the attribute will use the default value which is 0.


<!--T:604-->
<!--T:608-->
'''Example'''
{{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.}}


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


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

Latest revision as of 15:09, 19 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 custom value is displayed if the expression and the question and/or question answer codes used within the respective expression are displayed on the same page. If this happens, then the attribute will use the default value which is 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