Actions

QS

Slider max: Difference between revisions

From LimeSurvey Manual

mNo edit summary
(Marked this version for translation)
Line 12: Line 12:
When '''slider_layout''' is set, this question attribute sets the value of the right-end of the slider. By default, this value is set to 100. The expression manager can be used (without curly brackets) to set up a maximum 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 100.
When '''slider_layout''' is set, this question attribute sets the value of the right-end of the slider. By default, this value is set to 100. The expression manager can be used (without curly brackets) to set up a maximum 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 100.


<!--T:615-->
{{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.}}
{{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:616-->
'''Valid values'''
'''Valid values'''
* Any number
* Any number
Line 19: Line 21:
</onlyinclude>
</onlyinclude>


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

Revision as of 15:10, 19 April 2018


Slider maximal value (slider_max)

Description

When slider_layout is set, this question attribute sets the value of the right-end of the slider. By default, this value is set to 100. The expression manager can be used (without curly brackets) to set up a maximum 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 100.

  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