Welcome to the LimeSurvey Community Forum

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

Create Conditions with "or"

  • Tokushima
  • Tokushima's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #119833 by Tokushima
Create Conditions with "or" was created by Tokushima
I need help to create a condition in Limesurvey.

I want to show Question 2 only if the respondent answer yes at 1, 2 or 3 items of the previous items.

Q1) Do you have...
sq1 ... a bike? yes/no
sq2 ... an electric bike? yes/no
sq3 ... a motor bike? yes/no

and to show the next question (Q2) how many miles do you ride each week?) even if only one of the SQ was yes.

Sq1=yes or Sq2=yes or Sq3=yes

How can I do this? thanks for your help
The topic has been locked.
  • elissa
  • elissa's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago - 8 years 10 months ago #119841 by elissa
Replied by elissa on topic Create Conditions with "or"
You can use scenarios: see condtions in the manual.

Conditions: scenario

Elzbieta Lesinska
LS voluntary Polish translator and supervisor
Last edit: 8 years 10 months ago by elissa.
The topic has been locked.
  • Tokushima
  • Tokushima's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #119842 by Tokushima
Replied by Tokushima on topic Create Conditions with "or"
tyvm
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago #119846 by holch
Replied by holch on topic Create Conditions with "or"
You can also write an equation, which would be quite simple.

Assuming that yes is code "1" for all 3 questions, the equation would be:
Code:
sq1==1 OR sq2==1 OR sq3==1

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose