10

I've created a little functional script you can use for formatting US phone numbers. You can check it out here: https://codepen.io/datwood/full/....

I'm sure there are improvements I haven't thought of so feel free to mention any you think of.

I've built it so that it can work any input field set to type=tel that has a placeholder.

Comments
Add Comment