Phone number format not valid
Author: Martin Gross
Visited 1083,
Followers 1,
Shared 0
In the shopping cart, when filling-in customer details - phone number, the usual valid international phone number format is for example +420777777777. When I fill in a telephone number in this format, the website does not let me continue saying that a valid phone number must be filled-in. I would like to give my customers the chance to fill the telephone number including the + sign, spaces and possibly dashes (-), but I do not want to replace the field with a plain text field. I just want +- space and numbers, but no letters. How can I do that?
Posted on the
Okay this is how it goes martin. If you do not like the predefine phone field you can easily create youe own field and it works pretty well.
Author
Dear John U.
Could you please be more specific on how to create a field that allows only numbers, a plus sign, dashes and numbers?
Thank you very much!
Author
And by the way, would it not be better to define the way how it goes according to international standards???
Hello Martin,
In a custom field it is not possible to allow only certain characters but all work, like the + sign.
For the request to allow the + sign in the phone field please open a suggestion request as "IDEA" so the developers takes it in consideration for the future releases of the program.
Many thanks!