The next step after the countdown

More
2 months 2 weeks 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

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

LimeSurvey Partners
More
2 months 2 weeks ago - 2 months 2 weeks 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.
Last edit: 2 months 2 weeks ago by tpartner.

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

More
2 months 2 weeks 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Attachments:

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

More
2 months 2 weeks ago #178979 by surveySn
I only need one question delay。
The following user(s) said Thank You: DenisChenu

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!