This code still does not handle where a country has no zones in the zones table (i.e. states or provinces), when you choose state droplist required.
There is another bug with this code: if you want to change your mailing address to a different country, you only see a drop list for states for your original country.
We have lost some international orders because of this... however, we have very few international orders, so it's not a big issue for us.
If I remove the requirement for the drop list of states, then international orders work (except for those countries that always mysteriously fail USPS delivery, such as Cyprus and Switzerland, which may be due to a bug in USPS code.)
---Diana



