cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
31 stars 12 forks source link

Logic: How do we off board someone from a form? #3814

Open srtalbot opened 2 weeks ago

srtalbot commented 2 weeks ago

Some flows must exit and not confirm

In this form the applicant is not able to file for someone else. If they choose that selection they are off boarded from the form entirely. Do not pass go, do not collect $200... Though they do get a chance to "go back" one step.

samsadasivan commented 1 week ago

As I start the design, this could either be at the Logic lvl or the Form "pre-set" element lvl. Evaluating what works best for the user experience needs of the form filler rather than the user

samsadasivan commented 1 week ago

option 1: we treat this like the review page and standardize the content in french and english. We provide the option to "off board" when setting up rules, and direct them to a GC Forms standardized page. The hardest part is coming up with standard messaging for off-boarding from a variety of forms

option 2: we could add it as a pre-set element block and then users could add it in where they see necessary. Problem: the preset would need a button to guide the user back to the start (or another page) and the user could add this to any section.

option 3: provide the option to "off board" when setting up rules, then take them straight to the confirmation page, with an GC Design system alert. Similar to option 1, The hardest part is coming up with standard messaging for off-boarding from a variety of forms

samsadasivan commented 7 hours ago

Moving forward with option 2 as it is easier to scale in the long run