Questions appearing based on answers to previous array question

More
11 months 4 weeks ago - 11 months 4 weeks ago #159732 by mdado
mdado created the topic: Questions appearing based on answers to previous array question
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!
Last Edit: 11 months 4 weeks ago by mdado.

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

More
11 months 4 weeks ago #159738 by Joffm
Joffm replied the 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


Volunteers are not paid.
Not because they are worthless, but because they are priceless

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

More
11 months 4 weeks ago - 11 months 4 weeks ago #159756 by DenisChenu
DenisChenu replied the topic: Questions appearing based on answers to previous array question
(Q1_SQ005 == "A2" || Q1_SQ005 == "A3" || Q1_SQ005 == "A4")
must work too … even
Q1_SQ005 == "A2" || Q1_SQ005 == "A3" || Q1_SQ005 == "A4"
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 11 months 4 weeks ago by DenisChenu.

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!