Welcome to the LimeSurvey Community Forum

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

hide resume later button on one page?

  • badronald
  • badronald's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 1 month ago #72587 by badronald
hide resume later button on one page? was created by badronald
Is there a way to hide the 'resume later' button on only 1 page?
I can do it for next and previous, but does not seem to work for resume later button.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago - 9 years 8 months ago #72599 by DenisChenu
Replied by DenisChenu on topic hide resume later button on one page?
Hello,

On a question source of this page:
Code:
<script>
$(function() {
   $('.saveall').hide();
});
</script>

For example.

Denis

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: 9 years 8 months ago by DenisChenu. Reason: fix code
The topic has been locked.
More
5 years 6 months ago #173173 by laocoon
Replied by laocoon on topic hide resume later button on one page?
should this code still work?
unfortunatley it doesn't work in my survey
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 6 months ago #173177 by tpartner
Replied by tpartner on topic hide resume later button on one page?
How are we supposed to answer that without knowing any pertinent details like what you have tried and what version you are using?

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: DenisChenu
The topic has been locked.
More
5 years 6 months ago #173178 by laocoon
Replied by laocoon on topic hide resume later button on one page?
Sorry about that. I'm using Version 3.14.6+180821 and pasted the code above on one of my survey pages. But the resume-later button is still visible
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 6 months ago #173187 by tpartner
Replied by tpartner on topic hide resume later button on one page?
Try this for LS 3.x:

Code:
<script type="text/javascript" charset="utf-8">
  $(document).on('ready pjax:complete',function()  {
    var linkAction = '"saveall":"saveall"'
    $(".navbar-action-link a[data-limesurvey-submit~='"+linkAction+"']").closest('li').remove();
  });
</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: laocoon
The topic has been locked.
More
5 years 6 months ago #173188 by laocoon
Replied by laocoon on topic hide resume later button on one page?
thank you, works perfectly
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose