I was so distrustful about users entering states correctly that I just made a state UDCode Type and then put all 50 abbreviations in as the ID and the full state name as the description and then use a combo box where they’re supposed to enter the state.
Even if you get this to work, most people go partially blind when an error message pops up, they can only see the ok/close button.
It’s a native control that is set at 50. I would need to check the data and see if there is anything in there over 2 characters. But it’s a thought I’ll look into.
We don’t ship out of the country so I didn’t have to tackle that issue. If the state field would be used in whatever country you’re shipping to you could just add those options to your ud code. So if you’re gonna ship to canada, just add all of the provinces and their abbreviations to the state UDCode.
This, then, becomes a Process and Training issue. Saskatchewan is a Canadian Province, so it’s “SK” abbreviation would work. Puerto Rico is (at least for the US Postal Service) considered a state so it’s “PR” abbreviation would also work. @cory.davis’ UD codes does this admirably.
Dominican Republic, however, is a separate COUNTRY. If you have customers there and ship there, you should set up a Country record, and define how you want to use (or NOT use) the “state” field for those customers.