What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How can I set my conditional logic to reset certain fields?Asked by sckuperman on March 17, 2017 at 04: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???
In the Settings tab, set the Clear Hidden Field Values to Clear on Being Hidden.
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.