- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Relevance, Counting multiple Choice Answers
- Svewa
- Topic Author
- Offline
- New Member
Less
More
8 years 2 months ago #130015
by Svewa
Relevance, Counting multiple Choice Answers was created by Svewa
Hi everybody,
I am trying to create a - probably very simple - condition for a certain question, but I can't figure out how to get it to work
I want to create a question that only is displayed if five answers of a multiple choice question-list have been selected. As I can't do that with just setting a condition, I know I have to use the Expression Manager, but I am not very familiar with Boolean algebra, so I need a little help. Also I am sure this question has been asked before, but unfortunately I wasn't able to find a topic regarding this.
Example:
Question_1:
Choose among the following:
1. ABC
2. DEF
3. GHI
4. JKL
5. MNO
6. PQR
Question_2
[Only to be shown if 5 of the 6 elements above have been selected]
Thanks for your help!
I am trying to create a - probably very simple - condition for a certain question, but I can't figure out how to get it to work
I want to create a question that only is displayed if five answers of a multiple choice question-list have been selected. As I can't do that with just setting a condition, I know I have to use the Expression Manager, but I am not very familiar with Boolean algebra, so I need a little help. Also I am sure this question has been asked before, but unfortunately I wasn't able to find a topic regarding this.
Example:
Question_1:
Choose among the following:
1. ABC
2. DEF
3. GHI
4. JKL
5. MNO
6. PQR
Question_2
[Only to be shown if 5 of the 6 elements above have been selected]
Thanks for your help!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
8 years 2 months ago - 8 years 2 months ago #130016
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 Relevance, Counting multiple Choice Answers
Hi,
You can not use _ in your question title, then i take Question1
You can not use _ in your question title, then i take Question1
Code:
count(that.Question1.NAOK) >= 5
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: 8 years 2 months ago by DenisChenu.
The topic has been locked.
- Svewa
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
8 years 2 months ago #130032
by Svewa
Replied by Svewa on topic Relevance, Counting multiple Choice Answers
Perfect, this solved my issue! Many thanks
The topic has been locked.