Hello,
I have a confiform with the following fields:
TYPE (Required): Drop-down options INDIVIDUAL or GENERIC.
NAME (Not Required): text area.
SUMMARY (Required): text area.
The field NAME is only required when the value in TYPE is set to INDIVIDUAL.
I set the following validation rule (.+) to ensure the NAME field IS NOT EMPTY when TYPE = INDIVIDUAL and included a message to show when validation rule matches.
The rule works if the field is empty; the message is displayed.
The rule works if the field has content in the first line; the message is not displayed.
The rule does not work if the field has content in the 2nd line as it's reading the whitespace (newline).
I looked on Regex Validation; tried (\s), (\S), (\s+) and (\S+) without success.
What validation rule should I be using to disregard the whitespace?
Thanks for your help!