-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Conditional Complete screens for the various exit conditions. #3
Comments
I can't seem to find the conditional complete screens 😢 There is, however, a callback which is fired on survey completion which gives us access to the question and answers. We could consider using that to build and navigate/render our own custom completion screen. |
Here are the docs for the conditional completion pages. https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#completedHtmlOnCondition If these don't work, I'd be happy to explore the callback approach. |
Awesome, this does work but we have to do some extra steps which I think are fine. The ie: there are 2 conditions below which are the same but it will only render whichever is first in the array.
Fortunately, we can dynamically set the I'll get this is a PR though it will also contain #2 as well if that's fine. |
Survey.JS has a mechanism to define conditional complete screens. Use it to add the conditional screens to the survey, as defined in this document.
The text was updated successfully, but these errors were encountered: