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
10 years 1 week 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
10 years 1 week ago - 10 years 1 week 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: 10 years 1 week ago by elissa.
The topic has been locked.
  • Tokushima
  • Tokushima's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 week 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
10 years 1 week 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

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose