• Hi everyone,
    First of all I really like that plug-in! It’s fantastic.
    Secondly, I’m having some problems with phone number validation like “US format”. I want the validation with this format like “555-666-5656”. User shouldn’t be able to enter more digits in the phone field. Like 10 digits for phone number and 2 dashes. I want minimum and maximum 12 digits.
    Right now the current phone validation accepts different formats. Like (2223334444, 222-333-4444, 222-333-444455566-4567 or 88888888888888888888888888) means that user can enter any number(s) in phone field. . I want to control the end user to enter the specific 12 digits phone format like “555-666-5656”.
    Can anyone help me to solve this issue, I will appreciate that.
    Thanks

    https://www.ads-software.com/extend/plugins/visual-form-builder/

Viewing 1 replies (of 1 total)
  • Plugin Author Matthew Muro

    (@mmuro)

    As the default validation message states, most phone formats are accepted. This was chosen in favor of a more restrictive and less internationally compatible formatting.

    If you desire a more restrictive validation, I suggest creating a new JS file and adding your own jQuery Validation rules.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Visual Form Builder] Phone number validation’ is closed to new replies.