Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Conditioning groups with a multiple choice question

  • sisc2112
  • sisc2112's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171316 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
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 8 months ago #171318 by Joffm
Hi,

SQ001.NAOK == "A1"

This syntax seems to be wrong.

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
The topic has been locked.
  • sisc2112
  • sisc2112's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171320 by sisc2112
Thank you so much for your fast and helpful answer - it works now!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose