Results 1 to 6 of 6

Thread: PhoneUS Validation

  1. #1
    Thread Starter
    kdubose's Avatar
    Join Date
    Sep 2011
    Location
    United States
    Posts
    168
    Thanks
    3
    Thanked 2 Times in 2 Posts

    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!

  2. #2
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  3. #3
    Thread Starter
    kdubose's Avatar
    Join Date
    Sep 2011
    Location
    United States
    Posts
    168
    Thanks
    3
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    kdubose's Avatar
    Join Date
    Sep 2011
    Location
    United States
    Posts
    168
    Thanks
    3
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  6. #6
    Thread Starter
    kdubose's Avatar
    Join Date
    Sep 2011
    Location
    United States
    Posts
    168
    Thanks
    3
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. coupon validation
    By goodhead in forum ClassiPress General Discussion
    Replies: 2
    Last Post: August 11th, 2012, 04:41 PM
  2. Validation Error
    By sleevedbiker in forum ClassiPress General Discussion
    Replies: 3
    Last Post: January 24th, 2012, 05:59 AM
  3. [SOLVED] For validation not working
    By navjottomer in forum Report ClassiPress Bugs
    Replies: 9
    Last Post: April 17th, 2011, 10:22 AM
  4. For Validation
    By jaidev in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: September 19th, 2010, 10:09 AM