I have a situation where a user selects a value from a list. Based on this selection, one of two fields becomes enabled. The user completes the enabled field and everything is fine. Shown in box 1 below.
However, if the user then changes their mind about the first field, they switch it. Now the second field (which they have completed) becomes disabled and the other one becomes enabled, as shown in box 2. They fill this in, hit submit and now both values appear in the list, which is not the behaviour I am looking for.
Any ideas or help would be greatly appreciated!