Welcome to the LimeSurvey Community Forum

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

Can I change default logic question condition AND into OR between groups ?

More
10 years 2 months ago #118395 by fr3d
Hi all,

Can I change default logic question condition AND into OR, when I use answers from a few question groups?

I'm editing the condition in the question properties and I'm changing default AND into OR but the change isn't saved.
The topic has been locked.
More
10 years 2 months ago #118398 by Ben_V
You have to create "scenario"..
There is a case (numerical input) available for this.
scenario #1 .......
OR
scenario #2 .......
OR
scenario #3 .......

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: fr3d, SCHOOLPLATE
The topic has been locked.
More
10 years 2 months ago #118400 by fr3d
The problem is - if I add another scenario, the default condition between scenarios is AND... and I have to change it somehow into OR...
The topic has been locked.
More
10 years 2 months ago #118401 by Ben_V
Have you click the "save" button after setting your new scenario ?
Have a look at the doc

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Attachments:
The topic has been locked.
More
10 years 2 months ago #118402 by Ben_V
BTW you can use the relevance field + a formatted expression,
like (depending on your question type):
((Q1.NAOK == "1")) or ((Q1.NAOK == "2")) or ((Q4.NAOK == "2") and (Q6.NAOK == "1"))

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
More
10 years 2 months ago #118403 by fr3d
I added anoter scenario and clicked "Add condition" but I did'nt change the scenario name to "02". That was my mistake. When I did it, the problem has been solved as you described. Thanks a lot!
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose