Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: password to the questionnaire

password to the questionnaire 3 years 8 months ago #90458

  • jgalvez
  • jgalvez's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
How can i assign a password to the questionnaire?

I set password access enabled but how can i put a password to the questionnaire?

Thanks

Jose
The administrator has disabled public write access.

password to the questionnaire 3 years 8 months ago #90469

  • mfaber
  • mfaber's Avatar
  • Offline
  • Expert Lime
  • Posts: 86
  • Thank you received: 22
  • Karma: 4
A password that a survey participant needs to participate?

Why not use a question type "short text" to ask for the password and then use conditions on all questions groups (or better relevance equations) so they are only shown if the password is "correct".

For "passwords" for each individual participant you may use tokens. Have a look at the wiki for that.
The administrator has disabled public write access.

password to the questionnaire 3 years 8 months ago #90476

  • jgalvez
  • jgalvez's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi i cant set password to have access to the survey.

I want to use short text and set conditions to go to next question but i can't set a condition too...

How can i use tokens?

Thanks
The administrator has disabled public write access.

password to the questionnaire 3 years 7 months ago #90479

  • mfaber
  • mfaber's Avatar
  • Offline
  • Expert Lime
  • Posts: 86
  • Thank you received: 22
  • Karma: 4
Here is one way to do it:
The first question in your questionnaire asks for a password (question type short text). Make it a mandatory question.

Then, for the second question, use a condition so that the question is only shown when the text that your participant enters matches your "password":
- choose your second question
- click on the "condition symbol"
- click on your first question
- choose equal
- choose "constant" in the answer field
- write your chosen "password" in the text field.

Now your second question should only be shown if the password was correct. If it works, copy the condition to all your other questions in the questionnaire.

For the use of tokens, see the wiki at docs.limesurvey.org/Tokens&structure=Eng...tions+for+LimeSurvey
The administrator has disabled public write access.

password to the questionnaire 3 years 7 months ago #90480

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1805
  • Thank you received: 445
  • Karma: 111
Hello,
I think it's much better to use a regular expression (applied on the 1st question) to achieve this...
See previous post and tips here

Ben/
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.

password to the questionnaire 3 years 7 months ago #90556

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386
Think best is to use a token with Use left to 100 000 000 .

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.203 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form