Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Validation as survey password

  • GBMIMM
  • GBMIMM's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 month ago #194468 by GBMIMM
Validation as survey password was created by GBMIMM
Hi all,

I am looking to use a simple text validation to act as a survey password, but I am having trouble setting this up.

I will send the validation to participants in advance, and then access to the survey is granted by a general link.


Can someone advise if this following steps are correct to do this?

Q1. 'General options' - 'Validation' - insert desired text

Q2. 'Set condition' - Only show Q1 if the default scenario 'equals' whatever the text password is.

Are there additional steps I am missing? At the moment this does not work for me. When I enter the exact text at Q1. I receive this error message:

"One or more questions have not been answered in a valid manner. You cannot proceed until these answers are valid."

All advice greatly appreciated!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194469 by Joffm
Replied by Joffm on topic Validation as survey password
So, you want all your participants to be able to enter the survey with one password?
Though there are better ways to achieve that, your approach should be

short text question (Q1) with question validation: Q1=="yourPassword"
This is found in "Logic", do not use the "validation" in "general options"


This way people cannot proceed without entering the correct password.

If you want them to be screened out, do it without validation, but create a quota with limit "0".
This way you have to create an equation (eq1) like "{if(Q1=="myPassword",1,0)}
And the quota is "eq1==0 --> screen out.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • GBMIMM
  • GBMIMM's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 month ago #194470 by GBMIMM
Replied by GBMIMM on topic Validation as survey password
Thanks very much for your help, I will give the logic option a try now.

Out of interest, what is your recommended alternative to achieve this?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194483 by tpartner
Replied by tpartner on topic Validation as survey password
Token with multiple uses?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: gabrieljenik
The topic has been locked.
  • gabrieljenik
  • gabrieljenik's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
4 years 1 month ago #194513 by gabrieljenik
Replied by gabrieljenik on topic Validation as survey password
This is was I was about to say!

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .

The topic has been locked.
More
4 years 1 month ago #194615 by Indispirit
Replied by Indispirit on topic Validation as survey password
We've been using tokens so far in a trial with three organisations and c100 users and they work a charm - easy to distribute, revoke etc.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose