Question type - Multiple numerical input: Difference between revisions
From LimeSurvey Manual
No edit summary |
(No difference)
|
Revision as of 00:27, 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
From version 1.8 a new feature was implemented to adapt the Multiple numerical question type using it in combination with jQuery. By activating the Slider Layout in the Advanced settings the usual input box is converted into a slider and also can be controlled by various additional advanced settings. The look of the slider is determined via css which in the default template are defined as .ui-slider.
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}