You need to sign in to do that
Don't have an account?

Can I have many phone fields in one validation rule?
Hi Can I have many phone fields in one validation rule? For example, phone, work, mobile and emergency contact. I am using this formula. So my question is can I add more fields to this formula and if so, HOW? I have tried different things and no luck.
AND(
OR(
ISNEW(),
ISCHANGED(Phone)
),
NOT(ISBLANK(Phone)),
NOT(REGEX(Phone, "\\D?(\\d{3})\\D?\\D?(\\d{3})\\D?(\\d{4})$"))
)
Please mark as Best Answer if above information was helpful.
Thanks,
Please,try below formula
AND(
OR(
ISNEW(),
ISCHANGED(Phone)
),
AND( NOT(ISBLANK(Phone)),
NOT(REGEX( Phone,"(\\D?[0-9]{3}\\D?)[0-9]{3}-[0-9]{4}")) )