Is there a way to override the phone number format...
# suitecommerce
c
Is there a way to override the phone number formatting on the SCMA address form? It's taking numbers and reformatting them, I'd rather it was freeform. Entering 01909540846 (a uk number) gets reformated to 0 (190) 954-0864 which is not correct. We have customers all over the world and some customers will have Australian phone numbers but a UK address etc. We have Worldwide Support for Phone Number Formatting disabled if that makes a difference - we don't want to turn this on.
b
You can redefine the validation and save in model side
c
Hello, do you have an overview of how to do that?
We are familiar with the extension manager and comfortable building custom extensions.
b
there is a 'formatPhone' function in address.Edit.Fields.View.js. You can extend that function
If you are not comfortable with that, I can help you if you provide me your account.
c
Isn't that just the front end though and the backend will still validate the number?