Validation of phone field
Opened this issue · 1 comments
teddywing commented
- Validate the phone field for a correct phone number.
- Allow support for different entry formats, eg. (617) 555-1212, 617-555-1212, 617.555.1212, etc.
natea commented
This USPhoneNumberWidget widget might come in handy: http://hustoknow.blogspot.com/2010/10/usphonenumberwidget.html
Although I don't know if I like this solution very much because it requires typing text into 3 fields, instead of just one. A smarter widget would be one that auto-corrects the phone number formatting as you tab out of the field.