-
monikasslAsked on November 17, 2018 at 4:26 PM
Hello everyone, can anyone know that how to put multiple conditions in jot form?
I want Multiple conditions like this: if (a=1 OR a=2 & b=1 OR b=2)
Please let me know if anyone know about this.Thanks in Advance
Page URL: https://form.jotform.me/82876043337462 -
Kevin Support Team LeadReplied on November 17, 2018 at 10:33 PM
While setting up the conditions click on the plus icon to add a new statement, you may add as many statements as needed:
-
monikasslReplied on November 18, 2018 at 10:19 AM
I know about this, but please see my statement: ***if (a=1 OR a=2 & b=1 OR b=2)***, in this statement i am attaching 2 OR conditions with 1 AND condition, but in jotform condition panel this is not any option to attaching 2 conditions, so please see this again and let me know if this is possible with jot form
-
arthurprcReplied on November 18, 2018 at 11:09 AM
Hi there,
It would not be possible to add multiple logical operators in the same condition, though you could achieve the same result by creating multiple conditions with different logical operators.
Consider the example below as "a = 1 == address is filled" OR (ANY) "a = 2 == teste is filled"
And the second example below as "a = 1 == address is filled" AND (ALL) "a = 2 == teste is filled"
Note that the ANY is similar to the OR operator and ALL stands for AND.
With ANY condition, if one rule is matched it perform the DO action, with ALL condition, it needs to perform both (or multiple) rules to DO the action.
However, it would not be possible to add OR with AND operators in the same condition.
Let us know if you need further assistance, we'll be happy to help!
-
monikasslReplied on November 18, 2018 at 4:16 PM
Oh, but i was thinking about to use multiple logical operators in the same condition, so now no problem, your reply remind me some new logic and it is working now. Thank you for this