Skip to content

Show all form errors when submit button is clicked

Tamlyn Rhodes requested to merge show-submission-errors into master

Each time I filled out the submission form I felt like I was playing the Crystal Maze trying to guess which combination of inputs would enable the submit button and release the crystal.

This change enabled the submit button but triggers a dummy submit if the form is invalid which causes all inputs to become touched and therefore show their errors.

Merge request reports