View Full Version : AutoFormat Phone Number

10-05-2002, 06:24 PM
I once saw a script that onBlur it formatted the phone number to '(xxx)xxx-xxxx' no matter what the user entered (ie. xxxxxxxxxx,xxx xxx xxxx,xxx-xxx-xxx,(xxx)xxxxxxx ) I began to write the script on my own since I could not find it anywhere, but I cannont figure out all the ways a user could since origionally I did it on length but some have the same length. It would be greatly appreciated if anyone knew of where I could get this snippet or could help me with writing it thank you.

10-05-2002, 07:21 PM

The first result works.