PhoneUS Method isn't accurate
Author: itstabishCreated Jan 14, 2018Updated Jun 15, 2023
LabelsAdditional Methodshelp wantedStatus: Verified
Subject of the issue
PhoneUS Method is supposed to validate phone numbers to ensure they follow the 9 digit protocol. Phone numbers cannot be all 1's or a series of consecutive numbers such as 1234567. This is enough of a deterrent. However, yesterday, I came across a form, that when filled with the value 555 555 5555, validated as correct. Of course, this form IS incorrect.
Your environment
1.16.0 Chrome 63.0.3239.132
Steps to reproduce
Visit https://jsfiddle.net/ssguf2jy/ Fill in the phone number as 555 555 5555
Expected behaviour
An error should appear to the right of the field saying "x Please specify a valid phone number"
Actual behaviour
A check mark appears to the right of the field that denotes valid data.
Source: jquery-validation/jquery-validation