- Posts: 12
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Enable return to the previous page only for one question
- jacob76
- Topic Author
- Offline
- New Member
Less
More
3 months 1 week ago - 3 months 1 week ago #254834
by jacob76
Enable return to the previous page only for one question was created by jacob76
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 5.6.7+230222
Own server or LimeSurvey hosting: Own server
Survey theme/template: fruity
==================
Hi everyone,
I have (and have to) disabled the option to return to the previous page for all questions by default when participants answer the questions, but I want to enable it once only for a specific question, say G01Q02. Is it possible?
Unfortunately, I did not find any similar questions or solutions online.
Thank you very much for your kind help in advance!
Your LimeSurvey version: LimeSurvey Community Edition Version 5.6.7+230222
Own server or LimeSurvey hosting: Own server
Survey theme/template: fruity
==================
Hi everyone,
I have (and have to) disabled the option to return to the previous page for all questions by default when participants answer the questions, but I want to enable it once only for a specific question, say G01Q02. Is it possible?
Unfortunately, I did not find any similar questions or solutions online.
Thank you very much for your kind help in advance!
Last edit: 3 months 1 week ago by jacob76.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
3 months 1 week ago #254835
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Enable return to the previous page only for one question
Allow it, but hide the back button where wanted
E.g.
Or hide it generally by adding this to the "custom.css" and show it in this one question.
Joffm
E.g.
Code:
<style type="text/css"> #ls-button-previous { display: none; } </style>
Or hide it generally by adding this to the "custom.css" and show it in this one question.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- jacob76
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
3 months 5 days ago #254847
by jacob76
Replied by jacob76 on topic Enable return to the previous page only for one question
Thank you so much!!!
Please Log in to join the conversation.
- jacob76
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
3 months 3 days ago #254933
by jacob76
Replied by jacob76 on topic Enable return to the previous page only for one question
Thank you very much once again! Sorry, unfortunately, this solution did not work out in my Limesurvey version. If I allow the "return button" for all of them, I do not have the "hide the back button" where wanted.
If hide it generally by adding your code to the "custom.css" and show it in this one question. I have only so called "CSS class(es)", which did not work out by this code.
I was wondering if I did anything not correctly?
If hide it generally by adding your code to the "custom.css" and show it in this one question. I have only so called "CSS class(es)", which did not work out by this code.
I was wondering if I did anything not correctly?
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
3 months 3 days ago - 3 months 3 days ago #254935
by Joffm
css classes is something different.
But you can do this.
You define a new css class "no-prev" (like "no previous")
In your "custom.css" add
Now you enter this class in all questions where you want to hide the button
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Enable return to the previous page only for one question
Did you insert the shown css snippet in all questions where you want to hide?If I allow the "return button" for all of them, I do not have the "hide the back button" where wanted.
Here you have to show it by javascript, likeIf hide it generally by adding your code to the "custom.css" and show it in this one question. I have only so called "CSS class(es)", which did not work out by this code.
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#ls-button-previous').show(); }); </script>
css classes is something different.
But you can do this.
You define a new css class "no-prev" (like "no previous")
In your "custom.css" add
Code:
.no-prev #ls-button-previous { display: none; }
Now you enter this class in all questions where you want to hide the button
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 months 3 days ago by Joffm.
Please Log in to join the conversation.
- jacob76
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
3 months 2 days ago #254954
by jacob76
Replied by jacob76 on topic Enable return to the previous page only for one question
Thanks a lot!
Please Log in to join the conversation.