I'm using Adaptavist Simple Scripted Validator to check the below on create:
A). I have a field "Global" - if a user fills it in as Yes, I want them to be required to fill out field "Users"
. If a user fills in global = no, they have to fill out one of either Users, User Types, or Dataset.
I have the script for A (below). How do I add in the script for B? Basically I want an either/or statement
cfValues['Global']?.value != 'Yes' || cfValues['Users']