-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
When a user clicks the 'No' button on "Is this page useful?" they get an offer to be emailed a link to the survey.
But if they leave the 'Email address' field empty and click the green 'Send me the survey' button, they don't get an error/hint, just a Thank you message.
On the frontend, the feedback component displays a success message only if status code 200 is returned, which seems to be what is happening when an empty email field is submitted. When server side validation for email address has failed, the response status code should probably be a 400 with an error message attached.
Zendesk ticket where this was reported originally https://govuk.zendesk.com/agent/tickets/4786005
Reactions are currently unavailable

