- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Requiring an access code before starting survey...
- dgweller
- Topic Author
- Offline
- New Member
Less
More
7 years 2 weeks ago #152072
by dgweller
Requiring an access code before starting survey... was created by dgweller
Hello. I just got LS set up with a simple survey. I have a product that has a simple 3 digit + 1 alpha code on the label that lets us identify the manufacturing batch of a product being surveyed. We want to ask the respondent for this code and to make sure it's valid before conducting the survey. I thought this could be done by turning on tokens and importing a CVS file, but that seems to want a user first/last name and email address. Perhaps I'm misunderstanding the documentation?
How can I set the system up to verify a product code before allowing the user to proceed?
How can I set the system up to verify a product code before allowing the user to proceed?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
7 years 2 weeks ago #152078
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Requiring an access code before starting survey...
In theory yes. The Token system was created with the idea that you have a list of respondents that you invite and usually you have a name and an email address.
However, sometimes you want to use the token system, but you don't have the contact details. So what you can do is create fake users with fake names and fake email addresses. LS usually checks if emails are unique, but I think now there is a feature that allows to avoid those checks.
So you can just create a CSV file in Excel that includes dummy details for name and email and then use the token. They will not be asked to put the name and email address, just the token code. There is a description in the manual on how to do this, if you don't know how to approach this:
manual.limesurvey.org/Survey_participant...ake_e-mail_addresses
However, sometimes you want to use the token system, but you don't have the contact details. So what you can do is create fake users with fake names and fake email addresses. LS usually checks if emails are unique, but I think now there is a feature that allows to avoid those checks.
So you can just create a CSV file in Excel that includes dummy details for name and email and then use the token. They will not be asked to put the name and email address, just the token code. There is a description in the manual on how to do this, if you don't know how to approach this:
manual.limesurvey.org/Survey_participant...ake_e-mail_addresses
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- dgweller
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 2 weeks ago #152082
by dgweller
Replied by dgweller on topic Requiring an access code before starting survey...
This is excellent, thank you so much for the quick response. I hadn't considered a fake email address set, and didn't read further in that section to see that part. I'll do this tomorrow. Thanks again!
The topic has been locked.
- Deusdeorum
- Offline
- Senior Member
Less
More
- Posts: 72
- Thank you received: 17
7 years 2 weeks ago - 7 years 2 weeks ago #152204
by Deusdeorum
Replied by Deusdeorum on topic Requiring an access code before starting survey...
Just to fill in here. LS requires the fields "firstname", "lastname", "email", however, if you add a column "token" and fill this with some random string or something there is no need to create dummies for "firstname", "lastname" or "email", they could be empty! You just want to allow empty email addresses and not filter duplicates on those "firstname", "lastname" or "email". See a attached .csv.
Attachments:
Last edit: 7 years 2 weeks ago by Deusdeorum.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
7 years 2 weeks ago #152207
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Requiring an access code before starting survey...
Thank you, Deusdeorum, for skipping in here. I was not aware of that. So it is even easier than it already was.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- dgweller
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 2 weeks ago #152208
by dgweller
Replied by dgweller on topic Requiring an access code before starting survey...
Oh, this is _exactly_ what I was looking for, thank you!
The topic has been locked.