- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Multiple AND and OR within Set Condition
- BillLenoir
- Topic Author
- Offline
- New Member
Less
More
8 years 1 month ago #130388
by BillLenoir
Multiple AND and OR within Set Condition was created 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?
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.
- delarammahdaviii
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 3
8 years 1 month ago #130391
by delarammahdaviii
Replied by delarammahdaviii on topic Multiple AND and OR within Set Condition
hi
what's your question type ?
what's your question type ?
The topic has been locked.
- BillLenoir
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
8 years 1 month ago #130396
by BillLenoir
Replied by BillLenoir on topic Multiple AND and OR within Set Condition
The question on which I'm setting the conditions is Multiple Choice.
The conditions all draw from values in Array (Numbers).
The conditions all draw from values in Array (Numbers).
The topic has been locked.
- delarammahdaviii
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 3
8 years 1 month ago #130398
by delarammahdaviii
Replied by delarammahdaviii on topic Multiple AND and OR within Set Condition
try this :
((condition1 and condition2 and condition3)) or ((condition1 and condition2 and condition4))
i Think is work
((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.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
8 years 1 month ago #130441
by DenisChenu
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.
Replied by DenisChenu on topic Multiple AND and OR within Set Condition
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
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 service on demand , plugin development .
I don't answer to private message.
The topic has been locked.