Welcome to the LimeSurvey Community Forum

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

multiple choice question and conditional question

  • Suraro
  • Suraro's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #215597 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
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #215601 by Joffm
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

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Suraro
  • Suraro's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #215620 by Suraro
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
The topic has been locked.
More
2 years 10 months ago #215621 by paulfiner
Q1_other == "Y" should be the relevance equation here I think.
The topic has been locked.
  • Suraro
  • Suraro's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #215622 by Suraro
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
 
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #215634 by DenisChenu
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
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago - 2 years 10 months ago #215637 by Joffm
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

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.

Lime-years ahead

Online-surveys for every purse and purpose