Little-publicized, to the point that even Support might not be in the loop: the Visibility Rule Contains operator does allow multiple values.
The Contains value is interpreted as a full-fledged regular expression, so use the pipe character
| to separate sub-values:
In fact, because of this unexpected/undocumented power, you must anchor an expression to avoid surprises:
Otherwise, it's doing a partial match of the full value against each of your pipe-delimited alternatives. This might not be a problem on your forms right now, but if it becomes a problem, you wouldn't know about it immediately.
For example, if you were using uppercase state names, then
would match both
KANSAS, and you should use
You can also of course do more fancy matches with regexes if you want. And Not Contains is also a regex!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.