hide resume later button on one page?

More
7 years 3 months ago #72587 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.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
7 years 3 months ago - 4 years 9 months ago #72599 by DenisChenu
Hello,

On a question source of this page:
<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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 4 years 9 months ago by DenisChenu. Reason: fix code

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #173173 by laocoon
should this code still work?
unfortunatley it doesn't work in my survey

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #173177 by tpartner
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

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #173178 by laocoon
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

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #173187 by tpartner
Try this for LS 3.x:

<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

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #173188 by laocoon
thank you, works perfectly

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!