Dear all,
I have a question (list radio buttons), and I would like the user to proceed to the following question right after selecting the answer. Also, if the user does not answer in 10 secs, I would like the system to move on to the next question (in this case, it seemed ok for me to employ the "Time limit" option).
In order to automatize the "next question" after clicking on a choice, I used the code here (found in this forum):
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$('#question{QID} input.radio').click(function() {
checkconditions($(this).attr('value'), $(this).attr('name'), $(this).attr('type'))
$('#movenextbtn, #movesubmitbtn').trigger('click');
});
});
</script>
The code works well, but only if I
do not select the "Time limit" option. If I select it, the survey proceeds automatically throughout all the questions of the group in a few moments, basically impeding the user to press anything.
Is there any way to fix this (unfortunately I'm not a JS pro)?
Thanks in advance!