I just want to say first that you have a really wonderful thing going on here.
I am working on a one-question-per-page survey with conditional rules and will include the navigation buttons for Previous, Next, and Complete. I'm using the VisibleIf for each page so that specific page will only show up if a specific choice were selected. This works well if answered sequentially, but issues arise when someone tries to go back more than one question. I am trying to check if there is a way so that responders can only go back one question just in case they want to modify an answer.
I appreciate any response.
Thanks!
Hello,
There are no declarative means to implement this behavior. You can programatically hide the "Previous" button if you pressed it once or according other your requirements. You can also implement a custom navigation as shown in this sample - https://www.surveyjs.io/Examples/Library?id=survey-customnavigation&platform=jQuery&theme=modern
If I have not got you right please explain your scenario in greater details.
Thanks, Serge
SurveyJS Team
As alternative you can use survey.onCurrentPageChanging and use option.allowChanging and option.isPrevPage properties. If an end-user tries to go back on more pages you want him then set the option.allowChanging to false and show the alert.
Thank you,
Andrew
SurveyJS Team