Actions

QS

Time limit/en: Difference between revisions

From LimeSurvey Manual

No edit summary
(Updating to match new version of source page)
Line 3: Line 3:


The following question types support timers:
The following question types support timers:
* [[Question type - Text display|text display]]
* [http://docs.limesurvey.org/Question+type+-+Text+display&structure;=English+Instructions+for+LimeSurvey text display]
* [[Question type - List (Radio)|List (radio)]] (available since LimeSurvey v2.0)
* [http://docs.limesurvey.org/Question+type+-+List+%28Radio%29&structure;=English+Instructions+for+LimeSurvey list (radio)] (available since Limesurvey v2.0)


===Time limit (time_limit)===
===Time limit (time_limit)===
Line 12: Line 12:
Setting the time_limit attribute on a question will cause a countdown timer to begin counting down as soon as that question/page is loaded. At the expiry of the countdown timer the question will either automatically move on to the next page, or become read-only.
Setting the time_limit attribute on a question will cause a countdown timer to begin counting down as soon as that question/page is loaded. At the expiry of the countdown timer the question will either automatically move on to the next page, or become read-only.


The timer attributes work best with surveys displayed in "Question by question" mode. It is possible to use them in "Group by group" mode, but with certain restrictions. In "Group by group" mode the default time_limit_action is to "Disable only", meaning that the "Next >>" button is not automatically pressed. Automatically moving on to the next question is disabled in group by group mode ''unless'' the group only contains one question.
The timer attributes work best with surveys displayed in "Question by question" mode. It is possible to use them in "Group by group" mode, but can break survey with mandatory question.


'''Valid values'''
'''Valid values'''

Revision as of 16:55, 25 January 2017


The following question types support timers:

Time limit (time_limit)

Description

Setting the time_limit attribute on a question will cause a countdown timer to begin counting down as soon as that question/page is loaded. At the expiry of the countdown timer the question will either automatically move on to the next page, or become read-only.

The timer attributes work best with surveys displayed in "Question by question" mode. It is possible to use them in "Group by group" mode, but can break survey with mandatory question.

Valid values

  • Any positive integer number

Example

Set it to 240 to count down from 4 minutes (240 seconds)