- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
multiple choice question and conditional question
- Suraro
- Topic Author
- Offline
- New Member
Less
More
2 years 10 months ago #215597
by Suraro
multiple choice question and conditional question was created by Suraro
Hi,
Could someone help me about this? My version is 3.25.21.
Q1 is a multiple choice question. Q2-6 are conditional questions based on Q1.
If participant choose "on foot" option, Q2 will be showed to him.
If participant choose "by cycling" option, Q3 will be showed to him.
If participant choose "by public transport" option, Q4 will be showed to him.
If participant choose "by car" option, Q5 will be showed to him.
If participant choose "other" option, Q6 will be showed to him.
My Relevance equation must be wrong, so this sample survey didn't work.
Looking forward to help!
Suraro
Could someone help me about this? My version is 3.25.21.
Q1 is a multiple choice question. Q2-6 are conditional questions based on Q1.
If participant choose "on foot" option, Q2 will be showed to him.
If participant choose "by cycling" option, Q3 will be showed to him.
If participant choose "by public transport" option, Q4 will be showed to him.
If participant choose "by car" option, Q5 will be showed to him.
If participant choose "other" option, Q6 will be showed to him.
My Relevance equation must be wrong, so this sample survey didn't work.
Looking forward to help!
Suraro
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12789
- Thank you received: 3940
2 years 10 months ago #215601
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic multiple choice question and conditional question
As you see, your relevance equation is wrong.
It is always a good idea to activate the survey, enter some well defined data and have a look at the answer table.
Here you see how your equation has to look like.
A hint: Not your question is equal 1 or equal 2, but the subquestion is selected or not.
Joffm
It is always a good idea to activate the survey, enter some well defined data and have a look at the answer table.
Here you see how your equation has to look like.
A hint: Not your question is equal 1 or equal 2, but the subquestion is selected or not.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- Suraro
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
2 years 10 months ago #215620
by Suraro
Replied by Suraro on topic multiple choice question and conditional question
Hi Joffm,
Thank you for your suggestion.
I changed equation like this Q1_1 == "Y", this works well.
But there is "other" option in Q1, If participant choose "other" option, Q6 will be showed to him. I have no idea how to write equation based on this option.
Could you help me about this?
Suraro
Thank you for your suggestion.
I changed equation like this Q1_1 == "Y", this works well.
But there is "other" option in Q1, If participant choose "other" option, Q6 will be showed to him. I have no idea how to write equation based on this option.
Could you help me about this?
Suraro
Attachments:
The topic has been locked.
- paulfiner
- Offline
- Premium Member
Less
More
- Posts: 129
- Thank you received: 9
2 years 10 months ago #215621
by paulfiner
Replied by paulfiner on topic multiple choice question and conditional question
Q1_other == "Y" should be the relevance equation here I think.
The topic has been locked.
- Suraro
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
2 years 10 months ago #215622
by Suraro
Replied by Suraro on topic multiple choice question and conditional question
Hi Paulfiner,
Thank you for your suggestion.
I have tried this equation (Q1_other == "Y") in Q6, Q6 is hidden. But when I choose "other" option in Q1, Q6 didn't show up.
Suraro
Thank you for your suggestion.
I have tried this equation (Q1_other == "Y") in Q6, Q6 is hidden. But when I choose "other" option in Q1, Q6 didn't show up.
Suraro
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
2 years 10 months ago #215634
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 multiple choice question and conditional question
And !is_empty(Q1_other.NAOK) ?
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.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12789
- Thank you received: 3940
2 years 10 months ago - 2 years 10 months ago #215637
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic multiple choice question and conditional question
I always recommend to activate the survey.
Enter some well defined data (write down what you entered).
Investigate the answer table.
Afterwards you deactivate again.
Here you see this
Meaning there is no "Y" or blank in "Q1_other", but only the entered text.
This way you realize what you have to enter in the relevance equation.
As Denis said: Is it empty or not?
And you should insert the other mention in the question text of Q6
When you go to work by {Q1_other.NAOK}, how long does one trip take? (minutes)
Joffm
Enter some well defined data (write down what you entered).
Investigate the answer table.
Afterwards you deactivate again.
Here you see this
Meaning there is no "Y" or blank in "Q1_other", but only the entered text.
This way you realize what you have to enter in the relevance equation.
As Denis said: Is it empty or not?
And you should insert the other mention in the question text of Q6
When you go to work by {Q1_other.NAOK}, how long does one trip take? (minutes)
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 10 months ago by Joffm.
The topic has been locked.