Newb Question - login to survey using token

More
3 years 1 week ago #113344 by JasonAhlquist
JasonAhlquist created the topic: Newb Question - login to survey using token
Hi everyone,
I just started with Limesurvey (like about 6 hours ago). I really enjoy the fact that it is user-friendly enough for me to get surveys up and running in such a short time. Great job!
I have what might be a basic question. I'm soliciting survey participants without email invitations. We have a live event we're attending where we'd like to pass out post cards with a url and unique code. The idea is to use the code to prevent people from taking the survey more than once. That sounds like a job for tokens. But I'm having a hard time figuring out how to set up a landing page where the participant can enter a token (dummy token I guess) in order to gain entry to the survey.
I'd also like to collect and email address and other information at the end of the survey, but I figured I'd just use the End URL function to bounce them to a general opt-in page outside of Limesurvey.
Is there a common way to set up that token validation page without using email invitations?
Thanks for your help and thanks for the terrific software!

Please Log in to join the conversation.

More
3 years 1 week ago #113345 by holch
holch replied the topic: Newb Question - login to survey using token
I never used it this way, but if you have a closed survey with tokens and people access the URL of the survey, Limesurvey should ask for the token straight away.

Here what it looks like:





What you can also do is to include the token directly in the URL:
manual.limesurvey.org/Tokens#A_tip_for_g...de_the_token_already

Your only problem now will be to print post cards with individual token codes. But I guess you have a solution for this already.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Attachments:
The following user(s) said Thank You: JasonAhlquist

Please Log in to join the conversation.

More
3 years 1 week ago #113347 by JasonAhlquist
JasonAhlquist replied the topic: Newb Question - login to survey using token
Thanks for the fast response. The first option is perfect for me and works well when I test it. Is there a wiki or help page that describes how I can add introduction text and additional HTML to this?

Please Log in to join the conversation.

More
3 years 1 week ago #113348 by holch
holch replied the topic: Newb Question - login to survey using token
I am not quite sure if it is possible.

If you are using Limesurvey only in one language you might be able to look for a template file (if there is one) and introduze your text there.

But usually this text will come from the language files, which means you would need to make a new "translation" (if you change the translation of an existing language every update can revert your changes).

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 6 days ago #113351 by tpartner
tpartner replied the topic: Newb Question - login to survey using token

...how I can add introduction text and additional HTML to this?

There is no template for that screen so you'll need to use JavaScript to modify it.

Something like this in template.js:

$(document).ready(function(){
	if($('#tokenmessage').length > 0 && $('#token').length > 0) {
 
		// Custom token message
		$('#tokenmessage').html('This is the custom token input screen message...');
 
		// Custom token input label
		$('label[for="token"]').html('Custom Input Label: ');
	}
});


Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now