Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Show X out of Y question groups

More
4 years 1 week ago #196951 by Christin8
Replied by Christin8 on topic Show X out of Y question groups
Hi guys, I successfully replicated this behavior, but I noticed that participants are able to return via “previous” button, so that this form is evaluated again. Is there a way to disable that, so that the selected question groups stay intact?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
4 years 1 week ago #197031 by Mazi
Replied by Mazi on topic Show X out of Y question groups
If not showing the "previous" button at that page solves your problem, please provide a link to an activated test survey. I can then provide some javascript to hide that button on the given page.

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 following user(s) said Thank You: Christin8
The topic has been locked.
More
4 years 1 week ago - 4 years 1 week ago #197234 by Christin8
Replied by Christin8 on topic Show X out of Y question groups
Thanks to @first I added this if around my code, so it does not get executed again if checkboxes already have been marked. Hiding the previous button to prevent users from getting back to this page is not possible, as I shuffle all following question groups by a randomization group. I want users to be able to go back and forth as they want. So this code did the job!

Thanks guys for your quick and great support!

Code:
if( $('input:checkbox:checked').length == 0 ){ ... }
Last edit: 4 years 1 week ago by Christin8.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose