Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    New York
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    AutoFormat Phone Number

    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.
    -Stephen

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •