time limited finnal gruop questions

3 years 2 months ago - 3 years 2 months ago #103257 by baszek
I have finnal groupe questions, which should be time limited. After that group there is no more questions so survey should end and send the answers.
In my finnal group questions I have 3 questions with Text Field to answer. At third question I have changed such a options:
Time limit :180
Time limit action: move on without warning

With this option survey is working, time is counted from 3 minutes to zero, but when time has ended, survey is refreshing all the time and it's not sending answers - due to that refresh, its also imposible to press send button on my own.

File Attachment:

File Name: my_survey.lss
File Size:58 KB

I have read in manual such a info:

Note regarding group-by-group mode: When in group-by-group mode, the "move on" actions of the timer are replaced with a "disable" action. This is so the timer does not affect other questions on the page.

and solution is probably:

A workaround would be to modify quanda.php (although any modifications would be over-written when updating).

Find this line in quanda.php:
action = 3;";

And change it to this:
//action = 3;";

But do you know where to find that quanda.php file ?? Or maybe you have some other idea to make it ?
Last Edit: 3 years 2 months ago by baszek.

Please Log in to join the conversation.

3 years 2 months ago #103264 by baszek
I have made it using JAVASSCRIPT:
var count=180;
var counter=setInterval(timer, 1000); //1000 will  run it every 1 second
function timer()
  if (count <= 0)
    $(document).ready(function() {
 document.getElementById("timer").innerHTML= " Time Count: "+count; // watch for spelling
<div id="timer" style="font-size: 16px;">

Please Log in to join the conversation.