WebSite X5Help Center

 
Martin Gross
Martin Gross
User

Phone number format not valid  en

Author: Martin Gross
Visited 985, 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
4 ANSWERS - 1 USEFUL
John U.
John U.
User

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.

Read more
Posted on the from John U.
Martin Gross
Martin Gross
User
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!

Read more
Posted on the from Martin Gross
Martin Gross
Martin Gross
User
Author

And by the way, would it not be better to define the way how it goes according to international standards???

Read more
Posted on the from Martin Gross
Incomedia
Claudio D.
Incomedia

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!

Read more
Posted on the from Claudio D.