Welcome to the LimeSurvey Community Forum

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

Remove Next or Previous button

  • SolutionsNZ
  • SolutionsNZ's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 2 weeks ago #264514 by SolutionsNZ
Remove Next or Previous button was created by SolutionsNZ
Hi I know "Remove Next button" has been covered before however none of the suggestions are working for me

I'm using 6.5.8 and this question hasnt been asked for years, can it be updated?

In the Questions' source code Ive tried placing all suggested code in other forums nothing has worked.

Suggestion could be to allow the removal of these buttons in the right side menu.


 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 2 weeks ago #264548 by Joffm
Replied by Joffm on topic Remove Next or Previous button
Hi,
what are "all suggested code in other forums"?
If you do not show it, we can't know where there is the mistake?
What version of LS was the code for?
Did you use the wrong identifier?
Or relied on ChatGPT  ?

Nevertheless:
These two solutions work in LS 6.x.

and this question hasnt been asked for years,

This is covered several times during the last year.
But as this question is not asked isolated but the buttons are to hide under certain conditions (for ten secondes, until the video has ended, etc.) it is a bit difficult to search for.

1. Hidden by javascript
 
Code:
<script charset="utf-8" type="text/javascript">
    $(document).ready(function() {     
            $('#ls-button-submit').hide();
    });
</script>


2. Hidden by css
 
Code:
<style type="text/css">#ls-button-submit {
    display:none;
  }
</style>

And the identifier of the "Previous"-button is "#ls-button-previous".

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose