Links: Direct to different surveys, based on the answer to a question

More
4 years 4 months ago #111151 by Danilo
Danilo created the topic: Links: Direct to different surveys, based on the answer to a question
Dear all,

I would like to do the following:
If the participant answers to the first question "yes", s/he will be directed to survey B.
If the participant answers to the first question "no", s/he will be directed to survey C.
Is this feasible, please?

Best wishes,
Daniel

(Why using conditions is not an easy solution: After completing survey B, participants are directed via "End URL" to a survey D, where they can enter their email addresses. This survey should be separate from survey B to ensure data protection. Participants who have participated in survey C, in contrast, are not supposed to end up at survey D.)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #111212 by DenisChenu
DenisChenu replied the topic: Links: Direct to different surveys, based on the answer to a question
Put this in endurl
{if(QCODE=="yes","https://linktosurveyB","https://linktosurveyC")}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 4 years 4 months ago by DenisChenu. Reason: == NEVER = !! idiot
The following user(s) said Thank You: Danilo

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #111228 by Danilo
Danilo replied the topic: Links: Direct to different surveys, based on the answer to a question
It works when I use two equal signs, combined with the answer code:

...QuestionCode=="AnswerCode"...


Many thanks for your help!

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #111229 by DenisChenu
DenisChenu replied the topic: Links: Direct to different surveys, based on the answer to a question

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: Danilo

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!