- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Disable previous button by group?
- jessicar64
- Topic Author
- Offline
- New Member
Less
More
9 years 11 months ago #108505
by jessicar64
Disable previous button by group? was created by jessicar64
Is there a way to disable the previous button for certain groups? Once a respondent makes it past a certain point, I don't want them to be able to go back. I do want to allow them to go back within a cluster of groups. (Essentially, I need meta-groups with no way to go back to a previous meta-group. But I need data from the previous meta-group so I can't make them separate surveys, or?)
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
9 years 11 months ago #108516
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Disable previous button by group?
This can be done via Javascript. Put in on every page (perhaps in the group section text box as html)
to hide the previous button.
to hide the previous button.
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#moveprevbtn').hide(); }); </script>
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: f_funke
The topic has been locked.
- f_funke
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 34
- Thank you received: 3
5 years 7 months ago #173423
by f_funke
Replied by f_funke on topic Disable previous button by group?
Just a short update as the last post is more than four years old:
It looks as the ID name of the button has changed from "moveprevbtn" to "ls-button-previous" in the present version (3.14). At least in my installation the following code works better:
It looks as the ID name of the button has changed from "moveprevbtn" to "ls-button-previous" in the present version (3.14). At least in my installation the following code works better:
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#ls-button-previous').hide(); }); </script>
The topic has been locked.
- vkuzmin
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 6
5 years 7 months ago #173459
by vkuzmin
Replied by vkuzmin on topic Disable previous button by group?
<style>
#ls-button-previous {
display: none;
}
</style>
#ls-button-previous {
display: none;
}
</style>
The following user(s) said Thank You: f_funke
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
4 years 5 months ago #190599
by Mazi
Just an absolutely minor change in order to fix that regression which was not accepted for very doubtful reasons
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 Disable previous button by group?
Related to that please have a look at bugs.limesurvey.org/view.php?id=14541 and my attempt to fix this: github.com/LimeSurvey/LimeSurvey/commit/...28fbfabef7639f42d52ff_funke wrote: Just a short update as the last post is more than four years old:
It looks as the ID name of the button has changed from "moveprevbtn" to "ls-button-previous" in the present version (3.14). At least in my installation the following code works better:
Code:<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#ls-button-previous').hide(); }); </script>
Just an absolutely minor change in order to fix that regression which was not accepted for very doubtful reasons
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.