Welcome to the LimeSurvey Community Forum

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

Remove next button

  • NESTSurvey
  • NESTSurvey's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207337 by NESTSurvey
Remove next button was created by NESTSurvey
Hello Community

I want to hide the next button, except for the last question with the textfield.

I managed to hide it with this code from the forum:

<script>
$(document).ready(function() {
$('#ls-button-submit').hide();
});
</script>

But the tablet still shows it for half a second till it is processed. Which look very stupid.

Any idea how to remove the next button before loading?


empa.limequery.com/378674?lang=en


thanks alot for helping

Basil
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207342 by tpartner
Replied by tpartner on topic Remove next button
Extend the theme and add this to the end of your custom.css file:

Code:
#ls-button-submit {
    display: none;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: NESTSurvey
The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207343 by holch
Replied by holch on topic Remove next button
Wouldn't this hide all buttons, including the final submit button?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: NESTSurvey
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207344 by tpartner
Replied by tpartner on topic Remove next button
Yes, then where you want to show it:

Code:
<script>
    $(document).ready(function() {
        $('#ls-button-submit').show();
    });
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: NESTSurvey
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207345 by tpartner
Replied by tpartner on topic Remove next button
...or, where you want to show it:

Code:
<style type="text/css">
 
  #ls-button-submit {
    display: inline-block;
  }
</style>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: NESTSurvey
The topic has been locked.
  • NESTSurvey
  • NESTSurvey's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207362 by NESTSurvey
Replied by NESTSurvey on topic Remove next button
Thanks alot, it worked.

I have a general wuestion because i almost tried these things but my problem is to find de right parameter for the class or id... where can i find theses names or have a overview?

cheers basil
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207363 by Joffm
Replied by Joffm on topic Remove next button
Hi, Basil,

in each browser you find a web development tool
CTRL-SHIFT-C in Firefox
CTRL-SHIFT-I in Chrome

Here how it looks like in Chrome:




You find the classes / IDs affected and you may change some settings to see the effect.

And to "find the right parameter"; without some knowledge of css it will be difficult.
Here W3Schools may give some help.
www.w3schools.com/Css/

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago - 3 years 5 months ago #207381 by DenisChenu
Replied by DenisChenu on topic Remove next button
There are some fixed class here : manual.limesurvey.org/Theme_editor#Globa...es_for_question_part

Lack of buttons …

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.
Last edit: 3 years 5 months ago by DenisChenu.
The following user(s) said Thank You: tpartner
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose