I have a form where there is a input thats only enabled with certain other settings. However there is a case where a user enters something in that conitional field, and then changes the other setting such that the conitional field is now disabled.

From this:


download bmml source – Wireframes created with Balsamiq Mockups

To this:


download bmml source

Whats the proper way to handle this situation? Leave the user input displayed (and ignore it)? Clear it out every time you toggle the conditional field?

  • When you say "conditional field," are you saying that the field might or might not be enabled based on other factors or earlier input, or simply that the user can enable or disable it as they see fit?
    – Mattynabib
    Commented Sep 20, 2016 at 1:22
  • Enabled based on earlier inputs.
    – Zak Kus
    Commented Sep 20, 2016 at 18:23

1 Answer 1


I guess my main question is this: does the value in the optional field still register once the field is disabled? If they enter a value before it is disabled, and that value still is respected/used by the system even AFTER it is disabled, then the value should remain visible in the disabled field. If not, and that field is simply disregarded when disabled, I would suggest removing any content from the disabled field.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.