- Posts: 2
- Thank you received: 0
- Forum
- English support forums
- Can I do this with LimeSurvey?
- Conditioning groups with a multiple choice question
Conditioning groups with a multiple choice question
7 months 26 minutes ago #171316
by sisc2112
Conditioning groups with a multiple choice question was created by sisc2112
Hello,
I have a survey where in the beginning the user has to answer a multiple choice question. This question is "which of the following subjects do you want to evaluate?".
Following this, I have one group with some questions for every subject (ten subjects, ten groups). Depending on what the user chooses, the right group of question should appear. (if there is chosen "Subject 1" in multiple choice, only the group for subject 1 should appear. Right now, all groups appear, no matter which answer is checked.)
I already tried this: SQ001.NAOK == "A1"
in different variations. All I did was making the whole group disappear.
Hoping someone could give me a hint with that one. Thank you in advance!
Regards,
Simon
I have a survey where in the beginning the user has to answer a multiple choice question. This question is "which of the following subjects do you want to evaluate?".
Following this, I have one group with some questions for every subject (ten subjects, ten groups). Depending on what the user chooses, the right group of question should appear. (if there is chosen "Subject 1" in multiple choice, only the group for subject 1 should appear. Right now, all groups appear, no matter which answer is checked.)
I already tried this: SQ001.NAOK == "A1"
in different variations. All I did was making the whole group disappear.
Hoping someone could give me a hint with that one. Thank you in advance!
Regards,
Simon
Please Log in or Create an account to join the conversation.
7 months 14 minutes ago #171318
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Conditioning groups with a multiple choice question
Hi,
If your first question is single choice, it is something like: Q1=="A1" (Code of question and code of answer option)
If your first question is multiple choice, it is something like: Q1_SQ001=="Y" (Code of question_Code of subquestion "is answered")
Best regards
Joffm
This syntax seems to be wrong.SQ001.NAOK == "A1"
If your first question is single choice, it is something like: Q1=="A1" (Code of question and code of answer option)
If your first question is multiple choice, it is something like: Q1_SQ001=="Y" (Code of question_Code of subquestion "is answered")
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: sisc2112
Please Log in or Create an account to join the conversation.
7 months 8 minutes ago #171320
by sisc2112
Replied by sisc2112 on topic Conditioning groups with a multiple choice question
Thank you so much for your fast and helpful answer - it works now!
Please Log in or Create an account to join the conversation.