I created a survey using surveyjs's online designer and incorporated it into my web app. I would like to add two endings to the survey though.
If user clicks "no" for questions 2,3 or 4, it shows' the message "sorry ... thank you" instead of the default "thank you for ..." that I have as the current ending under the "completedHtml" section.
I essentially want to add two possible endings for the user tied to the logic rules I've set.
I've tried to just create a new "completedHtml[2]" section think (I'm sure the proper term) but I can't figure out how to redirect the logic from just end survey to end with completedHtml2 page.
You can use survey.completedHtmlOnCondition property. You can see how it is implemented in our NPS example.
Thank you, SurveyJS Team