Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1447

How to modify international phone validation

$
0
0

Replies: 1

Hi! Is there a way in which I can achieve the following:

  1. Add an extra number to a specific country code, in this case Argentina. It’s +54 but it’d like it to be +549 because a 9 is needed when mobile phones are entered. At the same time, I’d like people not to be able to remove this (currently they can)
  2. Remove or not allow spaces in the field, as well as no extra characters except for ‘+’. This is so the numbers I collect have no spaces or hyphens.

At the moment, I am using the input field with a pre-filled country code +549 and I allow no more than 14 characters, but this is not ideal as there is no validation.

Thanks a lot!


Viewing all articles
Browse latest Browse all 1447

Trending Articles