AnsweredAssumed Answered

Disabled fields submitting

Question asked by sarahk on Jan 25, 2016
Latest reply on Jan 25, 2016 by pfudala



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.

How can I clear disabled fields or ensure that they don't actually get used? I need this to work in the mobile version of the form also, so using javascript isn't an option.

Any ideas or help would be greatly appreciated!