Welcome, Guest
Username: Password: Remember me

TOPIC: time limited finnal gruop questions

time limited finnal gruop questions 6 months 2 weeks ago #103257

  • baszek
  • baszek's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Hello
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: 6 months 2 weeks ago by baszek.
The administrator has disabled public write access.

time limited finnal gruop questions 6 months 2 weeks ago #103264

  • baszek
  • baszek's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
I have made it using JAVASSCRIPT:
<script>
var count=180;
 
var counter=setInterval(timer, 1000); //1000 will  run it every 1 second
 
function timer()
{
  count=count-1;
  if (count <= 0)
  {
     clearInterval(counter);
    $(document).ready(function() {
		$('#movesubmitbtn').click();
	});
     return;
  }
 
 document.getElementById("timer").innerHTML= " Time Count: "+count; // watch for spelling
}
</script>
<div id="timer" style="font-size: 16px;">
	&nbsp;</div>
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.215 seconds
Donation Image