Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Set minimum amount of time in question

More
1 year 11 months ago #267515 by carlochecchia
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Cloud   Version 6.6.5
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template:
Fruity TwentyThree 
==================

Hi There
First of all thanks for your time.
I need  the respondent to spend at least 60 seconds in the question before being able to move to the next question.
I tried setting the TIMER but it is not working. I can move  to the next queston before the clock expires..
Can you please point out what I am doing wrong?
Attached is the file 

File Attachment:

File Name: limesurvey...5131.lss
File Size:60.94 KB
 

File Attachment:

File Name: limesurvey...5131.lss
File Size:60.94 KB

Thanks in advance

Please Log in to join the conversation.

More
1 year 11 months ago - 1 year 11 months ago #267526 by Joffm
Of course, a timer is the other way --> maximum time

Hide the back and submit buttons and show them after 60 seconds
Code:
<script type="text/javascript" charset="utf-8">   $(document).ready(function(){      // Hide the buttons      $('#ls-button-submit').hide();      $('#ls-button-previous').hide();       setTimeout(function () {         // show buttons         $('#ls-button-submit').show();         $('#ls-button-previous').show();     }, 60000); // after 60 seconds, or 60000 milliseconds   }); </script>


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 11 months ago by Joffm.
The following user(s) said Thank You: jonas.jau, carlochecchia

Please Log in to join the conversation.

Moderators: tpartner, holch

Lime-years ahead

Online-surveys for every purse and purpose