Remove previous Check Box selection based on user input

  • bfackrell
    Asked on May 14, 2022 at 3:49 PM

    The first page of my form has check box options that determine the visibility of other elements further down the form. I want to be able to de-select some or all of those options based on a selection made further down the form. Is that possible?





  • Durand_C
    Replied on May 14, 2022 at 4:48 PM

    Hello Bradly,

    Thanks for reaching out to Jotform Support. Please may I have the form URL so we can check it for you? Here is a guide on where to find your URL

    Let us know if you have any other questions.

  • bfackrell
    Replied on May 15, 2022 at 9:55 AM

    Since I don't know how to make it work, I don't have anything for you to look at. The best that I can do is show you a form: https://form.jotform.com/221344506919053 and explain what I want to happen.

    1. select any or all of the check boxes
    2. in the Single Choice element, if 'No' is selected, I want all of the check boxes to be cleared.
  • Gilbert JotForm Support
    Replied on May 15, 2022 at 10:20 AM

    Hello Bradly,

    What we can do is duplicate the checkbox field and set it to hidden.

    1652624336 62810bd0e220f  Screenshot 10

    Next, we can set a condition to copy the value of the duplicate checkbox field, which is empty, to the original one if 'No' is selected on the single-choice field.

    1652624183 62810b3736b17  Screenshot 21

    This should then clear all the selected checkboxes when 'No' is selected.

    Reference Guide: How to Insert Text or Calculation into a Field Using Conditional Logic

    Let us know if you have further questions or concerns.