Actions

QS

Slider max: Difference between revisions

From LimeSurvey Manual

mNo 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 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.


{{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.}}

Revision as of 14:43, 12 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