- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Automatically proceed to next question after selecting answer _with_ time limit
- morenomancosu
- Topic Author
- Offline
- New Member
Less
More
5 years 1 month ago #181218
by morenomancosu
Automatically proceed to next question after selecting answer _with_ time limit was created by morenomancosu
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):
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!
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!
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
5 years 1 month ago #181231
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Automatically proceed to next question after selecting answer _with_ time limit
What is your LimeSurvey version?
Can you attach a small sample survey (.lss file) containing only the relevant questions.
Can you attach a small sample survey (.lss file) containing only the relevant questions.
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: morenomancosu
The topic has been locked.
- morenomancosu
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
5 years 1 month ago #181242
by morenomancosu
Replied by morenomancosu on topic Automatically proceed to next question after selecting answer _with_ time limit
Hi Tony and thank you for your answer,
the LimeSurvey version I'm using is 2.50+ (Build 160317).
I attach to this message the .lsq of the question and the .lss. Hope this helps in solving the issue.
Thanks again!
Moreno
the LimeSurvey version I'm using is 2.50+ (Build 160317).
I attach to this message the .lsq of the question and the .lss. Hope this helps in solving the issue.
Thanks again!
Moreno
Attachments:
The topic has been locked.