Validators / phone

Validate a phone number by a country code.

Options

Option HTML attribute Type Description
country* data-bv-phone-country String An ISO-3166 country code.
It's dynamic option
message data-bv-phone-message String The error message

The supported countries are:

Country Code
United States US
Brazil BR
France FR
Morocco MA
Pakistan PK
Spain ES
United Kingdom GB

The following validators might be useful to you:

Comments

Don't submit the issue here

If you want to report a bug, please submit the issue on Github. For a general question or feedback, use the form below.