- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Questions appearing based on answers to previous array question
- mdado
- Topic Author
- Offline
- New Member
Less
More
6 years 5 months ago - 6 years 5 months ago #159732
by mdado
Questions appearing based on answers to previous array question was created by mdado
I have an array question Q1 in which users have to rate their agreement to several statements.
I have a subquestion SQ005 and I want certain questions to appear based on their answers to that subquestion:
Answer options (An)
• Strongly disagree A2, disagree A3 and neutral A4 --> should lead to Q2
• Strongly agree A6, agree A5 --> should lead to Q3
My relevance questions in Q2 and Q3 haven't worked so far:
(Q1_SQ005 == "A2" || Q1_SQ005 == "A3" || Q1_SQ005 == "A4")
(Q1_SQ005 == "A6" || Q1_SQ005 == "A5" )
Any idea how to solve this? Thank you!
I have a subquestion SQ005 and I want certain questions to appear based on their answers to that subquestion:
Answer options (An)
• Strongly disagree A2, disagree A3 and neutral A4 --> should lead to Q2
• Strongly agree A6, agree A5 --> should lead to Q3
My relevance questions in Q2 and Q3 haven't worked so far:
(Q1_SQ005 == "A2" || Q1_SQ005 == "A3" || Q1_SQ005 == "A4")
(Q1_SQ005 == "A6" || Q1_SQ005 == "A5" )
Any idea how to solve this? Thank you!
Last edit: 6 years 5 months ago by mdado.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
6 years 5 months ago #159738
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Questions appearing based on answers to previous array question
Hello, mdado,
your brackets!!!
(Q1_SQ005=="A2") OR (Q1_SQ005=="A3") OR (Q1_SQ005=="A4")
or
Q1_SQ005=="A5" OR Q1_SQ005=="A6"
Best regards
Joffm
your brackets!!!
(Q1_SQ005=="A2") OR (Q1_SQ005=="A3") OR (Q1_SQ005=="A4")
or
Q1_SQ005=="A5" OR Q1_SQ005=="A6"
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
6 years 5 months ago - 6 years 5 months ago #159756
by DenisChenu
must work too … even
Then i think there are something other …
Maybe a screenshot of Survey Logic file at expression level ?
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 Questions appearing based on answers to previous array question
Code:
(Q1_SQ005 == "A2" || Q1_SQ005 == "A3" || Q1_SQ005 == "A4")
Code:
Q1_SQ005 == "A2" || Q1_SQ005 == "A3" || Q1_SQ005 == "A4"
Maybe a screenshot of Survey Logic file at expression level ?
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: 6 years 5 months ago by DenisChenu.
The topic has been locked.