Phone number field validation?

  • Profile Image
    ssmediator
    Asked on July 03, 2013 at 04:21 AM

    Is there a way to validate a phone number field for this kind of entry ...

    213-555-1212

    (to include the dashes)

     

    And for this kind

    213-555-1212 ext 1234

     

    If I do not validate the field, then entering just one character (usually by mistake) will allow the form to be sent.  If I validate with AlphaNumeric, then the - won't be accepted.

  • Profile Image
    pinoytech
    Answered on July 03, 2013 at 05:16 AM

    Hi,

    Can you please take a look at this cloned form if this is something you want to achieve?

    http://www.jotformpro.com/form/31832096580961

    If yes, all you need to do is use Phone field and turn on input mask. Please take a look at this video: http://www.screencast.com/t/0dxRWUa9q9oj

    Thank you!

  • Profile Image
    ssmediator
    Answered on July 03, 2013 at 01:58 PM

    Close, (Thanks!) but not there yet.

    In the cloned form, one could not enter a phone extension...

    213-555-1212 ext 1234

  • Profile Image
    pinoytech
    Answered on July 03, 2013 at 02:50 PM

    Hi,

    The only way to achieve that is modifying your form source code. Here's how to get your Form Source Code.

    Thank you!

  • Profile Image
    ssmediator
    Answered on July 03, 2013 at 04:29 PM

    OK, thanks!

  • Profile Image
    pinoytech
    Answered on July 03, 2013 at 04:53 PM

    My pleasure! If you need our assistance again, feel free to let us know at anytime.

    Have a nice day!