Actions

QS

Slider accuracy: Difference between revisions

From LimeSurvey Manual

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


<!--T:578-->
<!--T:578-->
When "slider_layout' is set, this question attribute sets the value of step of the slider. Expression manager can be used (without brace), but if before page is shown the value is not a number, then default of 1 is used.  
If the "slider_layout' is enabled, this question attribute sets the slider's step value. The [[Expression Manager]] can also be used (without curly brackets). However, please note that this value has to be calculated before the expression is displayed. For example, no custom value will be used 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 question attribute will use the default value which is 1.  
 
{{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:579-->
'''Valid values'''
'''Valid values'''
 
* Any number
<!--T:581-->
* [[Expression Manager|Expressions]], without curly brackets.
*Any positive floating point number, for example "0.1" or "2"
 
<!--T:580-->
</onlyinclude>
</onlyinclude>


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

Revision as of 12:59, 12 April 2018


Slider accuracy (slider_accuracy)

Description

If the "slider_layout' is enabled, this question attribute sets the slider's step value. The Expression Manager can also be used (without curly brackets). However, please note that this value has to be calculated before the expression is displayed. For example, no custom value will be used 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 question attribute will use the default value which is 1.

  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

  • Any number
  • Expressions, without curly brackets.[[Category:Question Slider Options]