I am tasked with designing an address form that will function with U.S. as well as international addresses. There are multiple instances where our application may ask for an address. Also, the person filling out the address may not be the address owner, so the whole IP lookup method doesn't seem applicable here.
My issue at hand, is that I want to be able to conditionally show/hide or validate the "State/Province/Region" field depending on if the selected country contains administrative divisions or not. An ideal experience would be a completely dynamic address fieldset that is dependent on the selected country, however, our primary user base consists of people with U.S. addresses and the level of effort required to build the totally dynamic fieldset doesn't seem to make sense in this scenario.
Has anyone else had experience with country dependent validation for address forms? If so, is there some kind of magical list of countries WITHOUT administrative divisions? I have not been able to find one! Thank you!