Welcome to the LimeSurvey Community Forum

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

Multiple AND and OR within Set Condition

More
10 years 1 week ago #130388 by BillLenoir
I want to do something like: (condition1 and condition2 and condition3) or (condition1 and condition2 and condition4)

However, when I try this, it comes out as: (condition1 OR condition2 and condition3) or (condition1 OR condition2 and condition4)

Why is it when I add a third condition to a scenario, it applies the OR operator?
The topic has been locked.
More
10 years 1 week ago #130391 by delarammahdaviii
hi
what's your question type ?
The topic has been locked.
More
10 years 1 week ago #130396 by BillLenoir
The question on which I'm setting the conditions is Multiple Choice.

The conditions all draw from values in Array (Numbers).
The topic has been locked.
More
10 years 1 week ago #130398 by delarammahdaviii
try this :
((condition1 and condition2 and condition3)) or ((condition1 and condition2 and condition4))

i Think is work
The following user(s) said Thank You: BillLenoir
The topic has been locked.
More
10 years 1 week ago #130441 by DenisChenu
Hi,

If you use same answer for 2 condition :

QCODE.NAOK=="A1" and QCODE.NAOK=="A2" : this can be set like this. Then nlimesurvey set it automatically to or

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose