coralproject / ask

A better way for journalists to manage forms, submissions, and galleries. Because journalism needs everyone.
https://coralproject.net/products/ask.html
Other
42 stars 8 forks source link

Design inconsistencies with form validation #151

Open sguzik opened 7 years ago

sguzik commented 7 years ago

When a users attempts to submit a form that includes incomplete required fields, fields are highlighted inconsistently. Short text fields highlight with a red border, but email fields and long text areas do not (see screenshot below).

screen shot 2017-04-18 at 12 30 34 pm

When a user attempts to submit a form with an invalid email address, an alert appears under the submit button ("There are one or more errors with your responses. Please see above."; screenshot below). That alert only appears when the email address is invalid, not when it is missing entirely. Additionally, that alert only appears for an invalid email address, not any other failed validation.

screen shot 2017-04-18 at 12 33 22 pm

cc @jtnelson