I have a validator that checks the following relationship between two fields:
If "Review" is set, "Reviewer" mustn't be empty. If Review isn't set, Reviewer mustn't be set,
Unfortunately, my expression in the SimpleScript Validator doesn't seem to work:
(cfValues['Review']*.value.contains("ist notwendig") && cfValues['Reviewer']) || (!cfValues['Review'] && !cfValues['Reviewer'])
BUT: I tested the expression before the OR but also the expression after the OR work for themselves and they work? Does anyone know, why the OR seems to make some trouble?
Thanks in advance
Mathias
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.