How to format phone number output
-
Hello!
I have a CF7 form on my site that has a phone number field. If someone enters all of the numbers in succession without any spaces, hyphens or parentheses, it will output the number as just a string of numbers.
I am looking for a way to format the output of the numbers so that there will be spaces and hyphens – so that it will look like a real phone number when it gets outputted.
We are only dealing with customers in the US, so we don’t need to format any other type of number than ### – ### – ####.
How can I go about doing this?
Thanks!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to format phone number output’ is closed to new replies.