- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Time limit for Survey/Question Group
- georgehunn91
- Topic Author
- Offline
- New Member
Less
More
5 years 4 months ago #176608
by georgehunn91
Time limit for Survey/Question Group was created 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
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
The topic has been locked.
- georgehunn91
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
5 years 4 months ago #176622
by georgehunn91
Replied by georgehunn91 on topic Time limit for Survey/Question Group
Great, is there a ‘time limit’ function?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 4 months 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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Time limit for Survey/Question 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 , plugin development .
I don't answer to private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
5 years 4 months ago #176666
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Time limit for Survey/Question Group
Only for questions, not for the whole survey.Great, is there a ‘time limit’ function?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 4 months ago #176709
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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Time limit for Survey/Question Group
In previous version : using time limit / movenext work on group by group mode : on question with movenext on time limit movenext for all groupholch wrote:
Only for questions, not for the whole survey.Great, is there a ‘time limit’ function?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
5 years 4 months ago #176714
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Time limit for Survey/Question Group
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- georgehunn91
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
5 years 4 months ago #176721
by georgehunn91
Replied by georgehunn91 on topic Time limit for Survey/Question Group
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?
Would that work and how would I write that ie.
{time_limit} ?? would I write it in the Relevance equation for the question group?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
5 years 4 months ago #176722
by holch
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Time limit for Survey/Question Group
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 4 months ago #176730
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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Time limit for Survey/Question Group
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}
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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: georgehunn91
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
5 years 4 months ago #176798
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Time limit for Survey/Question Group
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.
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.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 4 months ago #176801
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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Time limit for Survey/Question Group
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 , plugin development .
I don't answer to private message.
The topic has been locked.
- Apouxx
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 0
5 years 1 month ago - 5 years 1 month ago #180597
by Apouxx
Replied by Apouxx on topic Time limit for Survey/Question Group
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
I was wondering, can we display this timer somehow ?
I used "DenisChenu"s method and it works great
Last edit: 5 years 1 month ago by Apouxx.
The topic has been locked.