I have a code snippet below which i'm trying to find if a field has a value of 90 or not. I've tried it with only the one field and it works fine but when I add the other two in with ORs all of them don't work:
The working script:
if (number1 === "90") {
message = "Right angle";
}
The not working script:
if (number1 || number2 || number3 === "90") {
message = "Right angle";
}
On the bottom code snippet the term "right angle" is returned for any value