IF condition with multiple values
I can find references to the if statement with two values, && and || ,but what if there are more than two, like the equivalent to a case statement.
Need the Workflow IF condition to be true for 3 different values and this doesn't work.
=$test.value == "1" || $test.value == "2" || $test.value == "3"
works fine for "1" and "2"
0
-
I think you're on the right track. I was able to use the same pattern and get a true result for all three cases.
=$form1.state.textBox1.value == "1" || $form1.state.textBox1.value == "2" || $form1.state.textBox1.value == "3"
A few things to watch for:
- Make sure you have two vertical bars. in each case.
- Make sure there are no spaces around the value.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar