I am trying to write an if statement that involves and or conditions.
if (object1.rawValue !== null && object2.presence == "visible" || object3.rawVaule == "Yes"){
Do the following...
}
The script above is not working. I want the script to fire if object1 is not blank and either object2 is visible or object3 equals Yes (or both).
Solved! Go to Solution.
Views
Replies
Total Likes
if ((object1.rawValue !== null && object2.presence == "visible") || (object1.rawValue !== null && object3.rawVaule == "Yes"))
{
Do the following...
}
This sould be help..
Kind regards Mandy
Views
Replies
Total Likes
if ((object1.rawValue !== null && object2.presence == "visible") || (object1.rawValue !== null && object3.rawVaule == "Yes"))
{
Do the following...
}
This sould be help..
Kind regards Mandy
Views
Replies
Total Likes
Mandy,
Thank you so much for your help with this!
-Don
Views
Replies
Total Likes
Great. I'm happy that I could help you!!
Kind regards,
amndy
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies