- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Links: Direct to different surveys, based on the answer to a question
- Danilo
- Topic Author
- Offline
- New Member
Less
More
9 years 7 months ago #111151
by Danilo
Links: Direct to different surveys, based on the answer to a question was created by Danilo
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.)
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.)
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
9 years 7 months ago - 9 years 7 months ago #111212
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Links: Direct to different surveys, based on the answer to a question
Put this in endurl
Code:
{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 , plugin development .
I don't answer to private message.
Last edit: 9 years 7 months ago by DenisChenu. Reason: == NEVER = !! idiot
The following user(s) said Thank You: Danilo
The topic has been locked.
- Danilo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
9 years 7 months ago #111228
by Danilo
Replied by Danilo on 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!
...QuestionCode=="AnswerCode"...
Many thanks for your help!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
9 years 7 months ago #111229
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Links: Direct to different surveys, based on the answer to a question
You're totally rigth ! I'm an idiot !
manual.limesurvey.org/Expression_Manager...t_Operator_.28.3D.29
manual.limesurvey.org/Expression_Manager...t_Operator_.28.3D.29
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Danilo
The topic has been locked.