Time limit for Survey/Question Group

More
8 months 1 week ago #176608 by georgehunn91
Hi,

I need to have a time limit on a survey. There are 50 questions and the participant has only 45 minutes to answer as many questions as they can.

Is there a way to have a time limit on a survey or a question group so that after 45 minutes they will end up at the 'end message'.

Cheers

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
8 months 1 week ago #176622 by georgehunn91
Great, is there a ‘time limit’ function?

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #176630 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #176666 by holch

Great, is there a ‘time limit’ function?

Only for questions, not for the whole survey.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
8 months 6 days ago #176709 by DenisChenu

holch wrote:

Great, is there a ‘time limit’ function?

Only for questions, not for the whole survey.

In previous version : using time limit / movenext work on group by group mode : on question with movenext on time limit movenext for all group :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
8 months 6 days ago #176714 by holch
Yes, but from what I understood, here it should be for the whole survey. So then you would have to use the all in one mode to achieve this, which is generally not very practical.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
8 months 6 days ago #176721 by georgehunn91
I was thinking to put all the questions in one group, questions displayed after each other and then have the group expire after 45 minutes.
Would that work and how would I write that ie.

{time_limit} ?? would I write it in the Relevance equation for the question group?

Please Log in or Create an account to join the conversation.

More
8 months 6 days ago #176722 by holch

I was thinking to put all the questions in one group, questions displayed after each other


This won't work. The timer is only valid for ONE specific question. If this question is in the same group as other questions AND this group is shown as one (one page for all "group by group"), then it might work, but not if you put them all in one group, but show them in the mode "question by question" it won't work.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
8 months 6 days ago #176730 by DenisChenu
If you need a question by question mode with such system, i think you need make your own system.

1st idea :
in 1st group, 2 question hidden
- equation TimeStart : {if(is_empty(self.NAOK),strtotime(date("now")),self.NAOK)}
- short text hidden TimeCurrent
Between each question :
- equation question TimeSet1 (1 increment for each question) : {TimeCurrent=strtotime(date("now"))}

All question (TimeSet too) have this relevance equation : {(TimeCurrent-TimeStart) <= 45*60}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: georgehunn91

Please Log in or Create an account to join the conversation.

More
8 months 5 days ago #176798 by tpartner
Nice!

But, wouldn't that just render questions irrelevant, instead of submitting the survey?

You would also want to add a text-display question with the opposite relevance stating that the survey time limit has been exceeded.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
8 months 5 days ago #176801 by DenisChenu
In question by question mode : irrelevant question are just removed, then click on move next => goes to end of page.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
5 months 1 day ago - 5 months 1 day ago #180597 by Apouxx
Another solution could be to put each question in a separate group.

I was wondering, can we display this timer somehow ?

I used "DenisChenu"s method and it works great
Last edit: 5 months 1 day ago by Apouxx.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!