chockomonkey
[H]F Junkie
- Joined
- Oct 11, 2003
- Messages
- 8,328
Here's another situation that I went into thinking it'd be easy, but then came across roadblock after roadblock along my way.
Most web forms nowadays have nifty input fields for phone numbers where you type in the numbers and it automatically fills in the parenthesis around the area code, a + before the country code if entered, and a dash between the latter 3 and 4 digit numbers. Then i imagine it just passes the numbers along to be stored in your database, cause why would want that extra fluff in your db? (or does it matter?)
I'm working with python + flask: can anyone recommend a python library to work with phone numbers and/or perhaps a javascript library to implements this spiffy functionality?
Or perhaps just fill me in on how you handled this in your own web app.
Thanks!
Most web forms nowadays have nifty input fields for phone numbers where you type in the numbers and it automatically fills in the parenthesis around the area code, a + before the country code if entered, and a dash between the latter 3 and 4 digit numbers. Then i imagine it just passes the numbers along to be stored in your database, cause why would want that extra fluff in your db? (or does it matter?)
I'm working with python + flask: can anyone recommend a python library to work with phone numbers and/or perhaps a javascript library to implements this spiffy functionality?
Or perhaps just fill me in on how you handled this in your own web app.
Thanks!