PhoneUS Validation
Hi, I can't get the validation to work of phoneUS. People are putting in 1234567890 as a phone number. Here is the default validation, as you know already,
'phoneUS' => array(
'args' => '0',
'validate' => 'format',
'desc' => __( 'Makes the element require a valid US phone number. Where the area code may not start with 1 and the prefix may not start with 1. <br />Allows "-" or " " as a separator and allows parens around area code. Some people may want to put a "1" in front of their number.', $this->td ) . '<br />'
. '<strong>' . __( 'VALID:', $this->td ) . '</strong> 1(212)-999-2345 | 212 999 2344 | 212-999-0983<br />'
. '<strong>' . __( 'INVALID:', $this->td ) . '</strong> 111-123-5434 | 212 123 4567'
),
I edited the Valid section to have only 123-123-4567
Even then it didn't work.
Can you help? Thanks!