You live in the United States of America. You design all your forms to have a mandatory "State" field. And then you decide it might just be a good idea to sell to the other 95.4% of the world. But you know, most of the world does not use the concept of a "State" all that much.
The moment you put a "country" field in your form, two things should happen:
- you should remove the State field if the country isn't set to U.S.A. or at least make it optional
- you should stop insisting on NANPA-formatted phone numbers (NNN-NNNNNNN)
I write this after wrestling with a number of unbelievably stupid web forms, all of which required me to provide a "State" name (I don't have one), choose from a list of states, or provide a fake phone number just to satisfy a stupid validator routine.