- Posts: 14
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Moving automatically to next bquestion
- aviben
- Topic Author
- Offline
- New Member
Less
More
8 years 11 months ago #120668
by aviben
Moving automatically to next bquestion was created by aviben
Hello.
I am using the one question per page feature
How can I make moving automatically to the next question/page after answering one question without clicking next?
Avi
I am using the one question per page feature
How can I make moving automatically to the next question/page after answering one question without clicking next?
Avi
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
8 years 11 months ago #120671
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Moving automatically to next bquestion
have a look in the forum, there has been a javascript solution around.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
8 years 11 months ago #120679
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 Moving automatically to next bquestion
What type of question?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- aviben
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
8 years 10 months ago #120894
by aviben
Replied by aviben on topic Moving automatically to next bquestion
Mainly List (radio)
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13645
- Thank you received: 2491
8 years 10 months ago #120913
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Moving automatically to next bquestion
Hi,
I use :
I use :
Code:
$(document).ready(function(){ $(".list-dropdown select").change(function(){ if($(this).val()!="" && $(this).val()!="-oth-"){ $("#movenextbtn,#movesubmitbtn").delay(300).click(); } }); $(".list-radio input[type=radio],.yes-no input[type=radio]").click(function(){ if($(this).val()!="" && $(this).val()!="-oth-"){ $("#movenextbtn,#movesubmitbtn").delay(300).click(); } }); });
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner
The topic has been locked.
- aviben
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
8 years 10 months ago #121371
by aviben
Replied by aviben on topic Moving automatically to next bquestion
Hi,
I'm having some issues implementing the code you have provided.
I can understand what the function should do, but after I had pasted into template.js I receive an error message saying '$' is not defined, as if jQuery was not loaded - however, opening the console and typing in '$' would return a function.
This leads to believe that the problem I'm having is occurring since jquery only loads later.
Please assist.
Regards,
Avi
I'm having some issues implementing the code you have provided.
I can understand what the function should do, but after I had pasted into template.js I receive an error message saying '$' is not defined, as if jQuery was not loaded - however, opening the console and typing in '$' would return a function.
This leads to believe that the problem I'm having is occurring since jquery only loads later.
Please assist.
Regards,
Avi
The topic has been locked.
- aviben
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
8 years 10 months ago #121394
by aviben
Replied by aviben on topic Moving automatically to next bquestion
Hi,
I'm having some issues implementing the code you have provided.
I can understand what the function should do, but after I had pasted into template.js I receive an error message saying '$' is not defined, as if jQuery was not loaded - however, opening the console and typing in '$' would return a function.
This leads to believe that the problem I'm having is occurring since jquery only loads later.
Please assist.
Regards,
Avi
I'm having some issues implementing the code you have provided.
I can understand what the function should do, but after I had pasted into template.js I receive an error message saying '$' is not defined, as if jQuery was not loaded - however, opening the console and typing in '$' would return a function.
This leads to believe that the problem I'm having is occurring since jquery only loads later.
Please assist.
Regards,
Avi
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
8 years 10 months ago #121405
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 Moving automatically to next bquestion
This looks like template.js is being loaded in the wrong position. What template LimeSurvey version and template are yo using?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 10 months ago #121440
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Moving automatically to next bquestion
Please post a link to an activated sample survey so we can have a look at the details.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- aviben
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
8 years 10 months ago #121506
by aviben
Replied by aviben on topic Moving automatically to next bquestion
Attached a print screen of the template (limeinspired) and the js portion that should raise the event
Survey Url: metrics-institute.com/LimeSurvey/index.php/715141/lang-he
Thanks
Survey Url: metrics-institute.com/LimeSurvey/index.php/715141/lang-he
Thanks
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
8 years 10 months ago #121508
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 Moving automatically to next bquestion
What LimeSurvey version are you using?
That doesn't look like a copy of an up-to-date template. The limespired template inserts template.js in the <head> element, your template inserts it in the <body>. Please try copying one of the shipped templates.
That doesn't look like a copy of an up-to-date template. The limespired template inserts template.js in the <head> element, your template inserts it in the <body>. Please try copying one of the shipped templates.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- aviben
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
8 years 10 months ago #121603
by aviben
Replied by aviben on topic Moving automatically to next bquestion
Thanks. It works great for radio type questions. How can I make it work for an array type question?
For each question I create another array with a semantic scale (see attached), a regular array question with a "|" separator
Thanks
For each question I create another array with a semantic scale (see attached), a regular array question with a "|" separator
Thanks
Attachments:
The topic has been locked.