How can I set my conditional logic to reset certain fields?

  • sckuperman
    Asked on March 17, 2017 at 4:53 PM

    I have a form that, when the user enters a number into one field, multiple conditions exit to *SHOW* a series of three corresponding fields depending upon the quantity typed into the first field, up to a maximum of four. For example, the main, first field requests a number from zero through four... If a user enters "2", then six fields will unhide.

    Additional conditional logic declares that if the subsequent series of three fields show, that the second field of each unhid series is then *REQUIRED*. Furthermore, if the second field (single choice radio buttons) in the series is selected as "yes", then the third field (text box limited to 12 alphanumeric characters) is also *REQUIRED*.

    My question is this: If a user enters "2", or "3", or "4" into field #1, and then selects "yes" for any series field #2, and enters any text into any series field #3... But then reduces the number entered into field #1,

    How can I reset the choice to 'none chosen' in the series field #2, AND reset the series field #3 to have no entry???

  • Welvin Support Team Lead
    Replied on March 17, 2017 at 9:20 PM

    In the Settings tab, set the Clear Hidden Field Values to Clear on Being Hidden.

    How can I set my conditional logic to reset certain fields? Image 1 Screenshot 20

     

    You may need to revise your conditional logic that instead of the require/unrequire, configure it to show/hide based on the previous options. This way, the clear hidden field will be triggered to the entire fields that are optional.

    Let us know if you need further assistance.