code4romania / code4romania/redirectioneaza
[Multiple forms] Save form: Supplementary validation at save form action
- Dominant language
- Python
- Stars
- 26
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
As a user, I want to be warned if I haven't selected critical form options, so that I can review and confirm my settings before saving the form.
- [Figma screen ](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2811-6836&t=MvTo7PuE2KbDT6aa-4)
- [Pop-up example](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2864-28211&t=MvTo7PuE2KbDT6aa-4)
- [Ixd note](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2864-28259&t=MvTo7PuE2KbDT6aa-4)
- [all the cases for the pop-up](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2883-6211&t=MvTo7PuE2KbDT6aa-4)
### Acceptance criteria:
- When the user clicks "Salvează formular" (Save Form):
- If any of the following options are not selected, a confirmation pop-up appears:
- Online signature is not enabled.
- Email notifications are not enabled.
- Page visibility is set to private / Doar eu
- Pop-up content example [here](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2864-28211&t=MvTo7PuE2KbDT6aa-4) + [all the cases](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2883-6211&t=MvTo7PuE2KbDT6aa-4) that can happen
- Actions:
- Save anyway/ Salvează formularul oricum — proceeds to save the form without selected options. The user is redirected to the "Cauze" list page.
- Back to edit/ Revizuiește setările — returns to the form editor so users can review their choices.
Contributor guide
Assessment
This issue has not been assessed yet.