How to set a minimum amount of time spent on each question

More
1 month 4 weeks ago #184867 by zserban
Hello,


To prevent fraudulent responses it is good to set a minimum amount of time spent by respondents on some questions types (where it doesn't make sense to decide in a few seconds)

Limesurvey can collect timing information for each question.


I want to know how can I access it by using question equation validation. Like: Q....> X seconds.


Thank you

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

LimeSurvey Partners
More
1 month 4 weeks ago #184869 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 .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: zserban

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

More
1 month 4 weeks ago #184872 by zserban
Hi, Denis,

Thank you for the idea.

I guess this could work.

But the bad part would be that you would have an equal delay for all question, no matter how justified it would be in the context of the particular question.

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

More
1 month 4 weeks ago #184875 by DenisChenu
Then : look at the code and make a workaround …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

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

More
1 month 4 weeks ago #184876 by zserban
I am not a coder, just a researcher, Denis.

Is why I am asking on the forums.

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

More
1 month 4 weeks ago - 1 month 4 weeks ago #184881 by tpartner
Add something like this to the source of a question. It will hide the submit button for a specified time.

<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 month 4 weeks ago by tpartner.
The following user(s) said Thank You: zserban

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

More
1 month 4 weeks ago #184882 by zserban
Hi, tpartner,


Thank you, this will do it.

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

More
1 month 3 weeks ago #184897 by DenisChenu

zserban wrote: I am not a coder,

One reason for making Open source code is : since code start to rules all human laws : human must rules the code, i mean : all human :).
Not only some big company …

;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: zserban

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

More
1 month 3 weeks ago #184900 by zserban
Coding skills are nice to have, but one person cannot have it :)

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!