Is it possible to apply one validation rule on multiple fields?
I wanted to avoid numbers and special characters in two fields -- name and last name.
NOT(REGEX(name || last_name_c,"^[a-z A-Z]*+"))
is this valid?
- Thanks in advance -
2 Antworten
If you want to apply the validation rule for multiple field try like this:-
OR(
AND(NOT(REGEX( First name ,"^[a-z + A-Z]*$"))),
AND(NOT(REGEX( Last name ,"^[a-z + A-Z]*$"))))