Change Question Visibility
SurveyJS Form Library allows you to show or hide any survey element based on certain criteria, for example, the response to the current question. With this capability, you can implement skip logic and branching in your survey. Read more...
clearInvisibleValues
Clear values for invsible questions on survey complete, default value is "onComplete".
- none - do no clear values for invisible questions.
- onComplete - clear values for invisible questions survey completing. Before sending data to the server.
- onHidden - immediately clear value after a question becomes invisible.
survey.clearInvisibleValues = yourValue;