The next step after the countdown

More
1 year 6 months ago #178906 by surveySn
Timer will automatically submit

I want to display the submit button after the countdown and don't automatically submit the answer.


3.15.5+181115
The topic has been locked.
LimeSurvey Partners
More
1 year 6 months ago - 1 year 6 months ago #178926 by tpartner
Add something like this to the source of a question:

<script type="text/javascript" charset="utf-8">
	$(document).on('ready pjax:scriptcomplete',function() {
 
		var delay = 10; // Delay time in seconds
 
		$('#ls-button-submit').addClass('hidden').hide();
 
		setTimeout(function() {
			$('#ls-button-submit').hide().removeClass('hidden').fadeIn(500);
		}, delay*1000);
	});
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 1 year 6 months ago by tpartner.
The topic has been locked.
More
1 year 5 months ago #178976 by DenisChenu
It's not the survey settings navigation delay ?

manual.limesurvey.org/Presentation#Navig..._delay_.28seconds.29 :

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.
Attachments:
The topic has been locked.
More
1 year 5 months ago #178979 by surveySn
I only need one question delay。
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now