elixir-luxembourg / daisy

Data Information System (DAISY) is a data bookkeeping application designed to help Biomedical Research institutions with their GDPR compliance.
GNU Affero General Public License v3.0
12 stars 10 forks source link

Add a flash message when form is rejected #437

Open Fancien opened 11 months ago

Fancien commented 11 months ago

Is your feature request related to a problem? Please describe.

When a form is rejected, the only indication that there was an issue with the data sent is directly under the relevant field. This is an issue when the form is very large (for example when changing a data declaration, the number of use restrictions means that finding the problematic field is not straightforward).

Describe the solution requested

When the form is rejected, add a flash message which explains why the form is not valid.