Combining 'and' and 'Or'

I wish to combine conditions need both And and or
My conditions are that the picture uploader should have a specific URL value AND a certain field should have any one value from an option set (which has 7 values). How do I write it? I don’t see any brackets.

It depends on what you want to do with them…
I usually put more conditionals with and… for example:
When URL is … AND option value is 1
→ do this

When URL is … AND option value is 2
→ do this

Do you mean this is right

When URL is … AND option is 1 OR option is 2 OR option is 3 OR option is 4 OR option is 5 OR option is 6 OR option is 7

Can’t you just use:

when ‘option set’ contains ‘option’ AND URL is…

That should work

If you really need this kind of condition, you should repeat the url every time:

When URL is … AND option is 1 or URL is … AND option is 2 or URL is … AND option is 3…

But it’s not a good solution… this is just for you to understand the conditions, when you put a or conditional, it kind of separates the ands. For example:

When URL is A or URL is B and Option is 1 or Option is 2
it will trigger in 3 situations:
When URL is A
or
When URL is B and Option is 1
or
Option is 2

This topic was automatically closed after 70 days. New replies are no longer allowed.