I want to clear a field when it is hidden?

  • Profile Image
    Asked on December 10, 2015 at 08:54 AM

    I have a form that hides/shows fields based on the user's selection. Let's say the user selects option A so two additional fields are shown. Then the user changes his mind, clicks on the Back button, and now selects option B. I have noticed that the selections for the now hidden fields are no longer blank because the user had made selection when he choose option A. When the user clicks on submit I'll get answers for option A and B. It makes sense to me that I should clear the fields before or after I hide them but I don't see that option. Thank you for your time and attention to this matter.

  • Profile Image
    Answered on December 10, 2015 at 10:17 AM

    Yes, that is correct. The form fields won't clear it's value because it was hidden, however, this can be fixed by setting the "Clear Hidden Field Values" option in your preferences.


    If they conditionally hides, then "Clear on Being Hidden" should fix it.

    Do let us know if that works.