Back navigation
Let respondents step back and edit earlier answers in stepped surveys.
Requires @opengovsg/confetti version 0.7.0 or later. On earlier versions,
the survey editor's back-navigation setting has no effect — the survey stays
forward-only.
By default, the Stepper and Popover display styles show one question at a time with no way to return to a previous question. Back navigation adds a Back button so respondents can revisit and edit earlier answers before submitting.
Enabling it
In the survey editor, open the Customisation section and toggle Allow respondents to navigate back.
This only applies to the Stepper and Popover styles, which show one question at a time. Styles that render every question on one page (Embedded, Modal) are unaffected.
This is off by default for every survey, new or existing. Turn it on per survey from the Customisation section.
Customising the Back button's label
Once the toggle is on, a Back button text field appears in the same section. It's optional and defaults to "Back" when left blank.
How rerouting works
If a respondent steps back and changes an answer that changes where the survey routes next, the survey recalculates the path forward from that point:
- Answers to questions still reachable on the new path are kept — the respondent does not need to re-enter them.
- Answers to questions that are no longer reachable are dropped from the submission, even if the respondent had already answered them earlier.
Only the final, reachable set of answers is included in the submitted response.
Was this page helpful?