Can I have a single question survey auto-submit?

Plus d'informations
il y a 4 mois 1 semaine #185311 par blocka
I want to include a few links to my survey in an email. Each link will pass a value like ans=1, ans=2, ans=3 -- and this will be used to map that parameter to the one question in my survey.

This is for a "Rate your experience" type question, like this:

Rate your experience: 1 = Great, 2 = Ok, 3 = Needs Improvement.

That part is straight forward -- but what I want is for my participant to not have to click "Submit" on the survey page to complete their submission -- instead, I want the survey response to be marked as Complete by automatically submitting the response.

Can this be done?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 mois 1 semaine #185315 par jelo
A submit via Javascript will work. The selection of the submitbutton changed in LS3.

Older thread about that topic (but not LS3):
www.limesurvey.org/forum/can-i-do-this-w...ger-save-submit-page

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 mois 1 semaine - il y a 4 mois 1 semaine #185316 par tpartner
Try this:

<script type="text/javascript" charset="utf-8">
	$(document).on('ready pjax:scriptcomplete',function() {
 
		setTimeout(function() {
			$('#ls-button-submit').trigger('click');
		},10);
	});
</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
Dernière édition: il y a 4 mois 1 semaine par tpartner.

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!