If the first character entered in a Phone field is a zero, and the entire input has at least the required number of digits, it passes validation with no error messages and the string "() -" is stored in the field. This happens even when the field is Required.

Examples:
100-000-0000 is not accepted, but 011-111-1111 is accepted
000-000-000 is not accepted, but 000-000-0000 is accepted, as well as 000-000-0000123456789
111111111111111111111111 is not accepted, but 0111111111111111111111111 is accepted

I observed this behavior using the North American phone field.

Comments

g1smd’s picture

I notice that start and end anchoring is missing from some of the RegEx patterns for various countries.

This leads to ambiguous pattern matching and erroneous operation for some numbers.