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.
To conditionally change the visibility of a survey page, panel, or question, specify its visibleIf
property. It accepts a Boolean expression. The survey element becomes visible when this expression evaluates to true
. In this demo, a survey displays additional questions depending on the value you select in the NPS question. Refer to the following help topic for more information: Conditional Visibility.