Actions

Question type - Date: Difference between revisions

From LimeSurvey Manual

m (Text replace - "{{:Advanced question settings|transcludesection=p" to "{{QS:P")
m (Text replace - "{{:Advanced question settings|transcludesection=" to "{{QS:")
Line 39: Line 39:


<!--T:14-->
<!--T:14-->
{{:Advanced question settings|transcludesection=dropdown_dates}}
{{QS:dropdown_dates}}


<!--T:15-->
<!--T:15-->
Line 45: Line 45:


<!--T:16-->
<!--T:16-->
{{:Advanced question settings|transcludesection=dropdown_dates_year_min}}
{{QS:dropdown_dates_year_min}}


<!--T:17-->
<!--T:17-->
{{:Advanced question settings|transcludesection=dropdown_dates_year_max}}
{{QS:dropdown_dates_year_max}}


<!--T:18-->
<!--T:18-->

Revision as of 21:55, 5 May 2013

Short description

This question type can be used to ask for a certain date which can be entered direclty, using the javascript calendar or by using a dropdown representation. Since version 1.80 you can also specifiy a minimum and maximum value for dropdown dates.


Core settings

Core question settings

These Core Settings are available in Version 1.92 and beyond

Core question settings

Core question settings

Advanced settings

Reverse answer order (reverse)

Description

If activated, the order of the answers will be reversed.

Available options

  • On
  • Off (default)

Example

Let's assume that you want to use an Array (Numbers) question type. If this option is disabled (default value), then the possible answers a survey participant can select are: "1, 2, 3, ... , 10". If enabled, the setting will reverse the order of the available answers: "10, 9, 8, ... , 1".



Randomization group name (random_group)

Description

It places the questions into a specified randomization group, all questions included in the specified group being displayed in a random order to the survey respondents.

You can find a sample survey using randomization group name in ExpressionScript sample survey.

Valid values

Just enter any string you like (for example: 'group1'). All question which have set the same string within the randomization group name box will have their place in the survey randomized (=randomly exchanged among each other).


Preview To preview the questions use the preview survey instead of the preview question group function, as the second has been reported to not show the questions in a randomized order.



Display dropdown boxes (dropdown_dates)

Description

If enabled, the date/time question type will display a dropdown box to the respondents from where to choose the date/time, instead of the default popup.

Available options

  • On
  • Off (default)

Example

If it is turned on, the question will be displayed in the following way:



Always hide this question (hidden)

Description

If enabled, the question will always be hidden - it will not be displayed to the survey participants. This function can be used in the following scenarios:

  • If you wish to prefill a question with a URL and you want not to have it displayed on the screen. This overrides any conditions used within the survey because the respective question will not even be embedded on the page.
  • If you wish to store or calculate a value on the fly via the ExpressionScript - Presentation.
Note: A common question type that is used with this function is the Equation one.

Available options

  • On
  • Off (default)



Minimum year (dropdown_dates_year_min)

Description

This question attribute can be used to set the minimum year value for the calendar question. It applies to the dropdown- and to the popup-variant of the calendar.

Valid values

Any year value



Maximum year (dropdown_dates_year_max)

Description

This question attribute can be used to set the maximum year value for the calendar question. It applies to the dropdown- and to the popup-variant of the calendar.

Valid values

Any year value



Insert page break in printable view (page_break)

Description

This attribute is only active when you actually print a survey from the Printable View. It forces a page break before the question.

Available options

  • On
  • Off (default)