I have been able to create a decent form that accomplishes many of my goals. I would now like to address "what if" scenarios. My users may change ther mind while filling out the form, but the values in the fields they had selected to that point do not.
I have a question whose response is required (yes/no). Based on that response, the form skips the section or displays additional options. The user selects "yes" and then fills out the next few questions (which are each defined variables based on the user input). Then he/she decides they don't want to and go back to select "no." All of the dependent questions disappear as expected, but the values they have already entered remain. How do I reset those variables on a selection of "no"?