A form whose fields undo each other

Practice form. Choosing a country empties the postcode, as address forms do. And the two "choice" boxes each empty the other whenever one is typed into, so both can never hold a value at once. A field that was filled and then emptied by a later one has to be filled again before the form goes. What is sent is shown back and kept nowhere.