I'm trying to implement what appears to be a tricky bit of logic in a form:
If the person signing up selects "USA" as the country, I want a "State" dropdown to appear; if the person then selects "CA" or "NY" as the state, I want a "Zip Code" prompt to appear. If the country is not "USA", then a "Postal Code" prompt should appear.
I'm having no trouble with the State dropdown: that is properly hidden unless and until USA is selected as the country. However, the "Postal Code" prompt insists on appearing by default.
These are the visibility rules I'm using for Postal Code:
Am I misunderstanding the logic here? Aside from the fact that the Postal Code prompt is appearing when the form initially appears, the form is behaving as intended.
Thank you in advance for any insight!
(BTW, I'm aware that this is a dreadful UX, and I'm trying to get it changed. Even if I can, though, I'd like to understand what's wrong here.)