Cannot Prevent Telephone Number Entered in a Wrong Way

It cannot give an error message when people entered their phone in a wrong format even I using “phone number” as its input setting.
Is a way that it can give an error message or stop it passing the “Next”?

Have you tried to use a regular expression? It is documented under API Text, I believe.

Hongway,

please have a look here, hope you find it helpful ValidatableMixin - Velo API Reference - Wix.com

can you please share your site url?
thanks,
Shlomi

Hongway,

please have a look at this example https://www.wix.com/code/home/example/Custom-Validations it has the exact code you are looking for. see how the phone number input uses pattern validation in its setting which uses ^([0-9]{3}) [0-9]{3}-[0-9]{4}$ as a regular expression

good luck!
Shlomi