Hacker News new | ask | show | jobs
by cliveowen 4665 days ago
I think this exposes a need for a service that does just that: localized input validation. It knows the right ZIP code for the right country, it supports every kind of name imaginable and lifts another weight from the shoulders of thousands of developers.
2 comments

We use libphonenumber from Google to do just that. Have to stay on top of the latest library version, though, to avoid pissing off customers when their country's phone format changes, which happens surprisingly often. I subscribed to the ITU-T newsletter for a while, and there are phone number format changes somewhere in the world every month. Kind of amazing.
But for what advantage? What are the chances that I type my mail, phone and address completly wrong so that the sender can't contact me at all? I don't see any advantages in that validation.