You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Summary page and confirmation page is skipped in the form when questions are answers. Seems to be issue when summary page not at the end, when there is also conditions added for navigation.
To Reproduce
Steps to reproduce the behavior:
Create form (basic form with no submission - simply used to check eligibility based on answers provided)
6 questions pages, each with a yes/no question
Summary page
Confirmation page1 (shown if all questions = True)
Confirmation page2 (shown if any question = False)
Next steps shown after Confirmation page2
The pages show individually using preview, but if all questions are answered both summary and confirmations are skipped
Expected behavior
Summary page and confirmation shouldn't be skipped. Should be possible to have a summary page before the end of a form.
Screenshots
Repository
designer
Desktop (please complete the following information):
OS: [Win 11]
Browser [chrome]
Version [Version 129.0.6668.60 (Official Build) (64-bit)]
Hey @BenVersion1, thanks for reaching out. I quite like this use-case. We have considered using form builder to essentially replace smart answers before 🙂..
It's currently undocumented, but Summary Pages (SummaryPageController) are intended to be the "end" of a form, since this is where all the submissions logic is executed - there's no logic to find and go to the next page. The next page would always be to GOV.UK Pay or to an application confirmation page (the one with the green banner). When the summary page is set to be "skipped", it is just skipping the UI (what's shown to the user), but still executes all of the submission logic.
I've done a recent refactor in #1264. I'll have to have a think, but it might be easier now for me to implement a Summary List component. Otherwise I can create a different page type.
I'll have to get back to you on when I can implement this though. When would you ideally need it by?
Describe the bug
Summary page and confirmation page is skipped in the form when questions are answers. Seems to be issue when summary page not at the end, when there is also conditions added for navigation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Summary page and confirmation shouldn't be skipped. Should be possible to have a summary page before the end of a form.
Screenshots
Repository
designer
Desktop (please complete the following information):
Additional context
Example form I used attached. I'm trying it via https://digital-form-builder-designer.herokuapp.com/app
acs-eligibility-checker-v5.json
The text was updated successfully, but these errors were encountered: