Time based enquiry

More
2 years 11 months ago #115777 by EvelineB
EvelineB created the topic: Time based enquiry
I was wondering if it is possible to include a timer for the whole of the questionaire?

I already found timing options for each individual question, but I am specifically looking for options to include a timer on the whole of the enquiry.

For example: this enquiry (eg Multiple choice examination) should be filled in after 30 minutes. After 30 minutes the enquiry closes itself.

Thanks!

Please Log in to join the conversation.

More
2 years 11 months ago #115797 by tpartner
tpartner replied the topic: Time based enquiry
There is no built-in facility for this and I can't think of an easy workaround.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, holch

Please Log in to join the conversation.

More
2 years 11 months ago #115806 by holch
holch replied the topic: Time based enquiry
Hmmm, I am a little disappointed, Tony. You always find a solution... hahahaha.

But I also think this will be very difficult.

I was thinking of something like this:

On each page a hidden single choice question with a zero quota for one answer.

Then a hidden question with the start time and a Javascript reading the start time and check if the time is over or not. if time is over,JavaScript to check the quota question and submit (not sure if this works).

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 to join the conversation.

More
2 years 11 months ago #115808 by tpartner
tpartner replied the topic: Time based enquiry
Well, that would probably work but since in the data quota-outs look like incompletes, I think you would also want a hidden question in each group to be clicked if time-out.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
2 years 11 months ago #115816 by holch
holch replied the topic: Time based enquiry
Well, I would have created this quota-out as something called "time out". Of course they look like incomplete, but they actually are and you just need to check the "time out" questions for "yes" to check which are just dropouts and incompletes and which are "timed out" questionnaires.

But this would also be a hell lot of work I guess, as you need various hidden questions and the Javascript on each page. If someone is clever enough to switch off Javascript still could take more time to finalize, etc.

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 to join the conversation.

More
2 years 11 months ago #115821 by DenisChenu
DenisChenu replied the topic: Time based enquiry
Idea:
Create an hidden question text
Create a plugin using 'beforeSUrveyPage' plugin event
Update this hidden question text using $_SESSION in this plugin.

Then we can do some Condition based on this hidden question text

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

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!