- Posts: 30
- Thank you received: 0
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
- Topic Author
- Offline
- Junior Member
Less
More
12 years 2 months 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.
I can do it for next and previous, but does not seem to work for resume later button.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
12 years 2 months ago - 9 years 9 months ago #72599
by DenisChenu
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.
Replied by DenisChenu on topic hide resume later button on one page?
Hello,
On a question source of this page:
For example.
Denis
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 9 months ago by DenisChenu. Reason: fix code
The topic has been locked.
- laocoon
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 1
5 years 7 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
unfortunatley it doesn't work in my survey
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
5 years 7 months ago #173177
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.
- laocoon
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 1
5 years 7 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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
5 years 7 months ago #173187
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.
- laocoon
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 1
5 years 7 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.