Question type - Multiple numerical input: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
=The slider layout= | =The slider layout= | ||
By activating the 'Slider layout' setting in the Advanced settings the usual input box is converted into a slider and also can be controlled by various additional advanced settings. The general look of the slider (colors, handle graphic) is determined via css which in the default template is defined by the ''.ui-slider'' class. | |||
[[File:K_MN_Slider.jpg]] | [[File:K_MN_Slider.jpg]] |
Revision as of 00:30, 22 January 2011
General description
This question type is a variation on the "Numerical input" question type. It allows multiple text boxes to be created each of which can only be answered using numbers. Each text box corresponds to an subquestion, and the subquestion text becomes the label for the input.
There are several question attributes which can be used to extend the functionality of this question type. The following example uses an advanced setting which checks if the entered numbers match a certain sum:
The slider layout
By activating the 'Slider layout' setting in the Advanced settings the usual input box is converted into a slider and also can be controlled by various additional advanced settings. The general look of the slider (colors, handle graphic) is determined via css which in the default template is defined by the .ui-slider class.
Advanced attributes
Equals sum value
{INCLUDE(page="Question attributes",start="!!equals_num_value",stop="!!num_value_equals_sgqa")}{INCLUDE}
Hide tip
{INCLUDE(page="Question attributes",start="!!hide_tip",stop="!!max_answers")}{INCLUDE}
Maximum sum value
{INCLUDE(page="Question attributes",start="!!max_num_value",stop="!!max_num_value_sgqa")}{INCLUDE}
Max value from SGQA
{INCLUDE(page="Question attributes",start="!!max_num_value_sgqa",stop="!!min_answers")}{INCLUDE}
Maximum characters
{INCLUDE(page="Question attributes",start="!!maximum_chars",stop="!!max_num_value")}{INCLUDE}
Minimum sum value
{INCLUDE(page="Question attributes",start="!!min_num_value",stop="!!min_num_value_sgqa")}{INCLUDE}
Min value from SGQA
{INCLUDE(page="Question attributes",start="!!min_num_value_sgqa",stop="!!multiflexible_min")}{INCLUDE}
Value equals SGQA
{INCLUDE(page="Question attributes",start="!!num_value_equals_sgqa",stop="!!exclude_all_others")}{INCLUDE}
Insert page break in printable view
{INCLUDE(page="Question attributes",start="!!page_break",stop="!!public_statistics")}{INCLUDE}
Answer prefix
{INCLUDE(page="Question attributes",start="!!prefix",stop="!!random_order")}{INCLUDE}
Show in public statistics
{INCLUDE(page="Question attributes",start="!!public_statistics",stop="!!prefix")}{INCLUDE}
Random answer order
{INCLUDE(page="Question attributes",start="!!random_order",stop="!!scale_export")}{INCLUDE}
Use slider layout
{INCLUDE(page="Question attributes",start="!!slider_layout",stop="!!slider_prefix and slider suffix")}{INCLUDE}
Slider minimum value
{INCLUDE(page="Question attributes",start="!!slider_min",stop="!!slider_max")}{INCLUDE}
Slider maximum value
{INCLUDE(page="Question attributes",start="!!slider_max",stop="!!slider_Left_Right_text_separator")}{INCLUDE}
Slider accuracy
{INCLUDE(page="Question attributes",start="!!slider_accuracy",stop="!!slider_default")}{INCLUDE}
Slider initial value
{INCLUDE(page="Question attributes",start="!!slider_default",stop="!!slider_layout")}{INCLUDE}
Answer suffix
{INCLUDE(page="Question attributes",start="!!suffix",stop="!!text_input_width")}{INCLUDE}
Input box width
{INCLUDE(page="Question attributes",start="!!text_input_width",stop="!!timer attributes")}{INCLUDE}