bboyle / form-validation

Validation UI for web forms
MIT License
2 stars 1 forks source link

Improve message format when invalid constraint involves multiple fields #48

Open bboyle opened 10 years ago

bboyle commented 10 years ago

We currently display this:

  • Your name: Must be completed
  • Your email: Must be an email addresses
  • Birth certificate: Your attachments are too large
  • Driver licence: Your attachments are too large

When we need something more like this:

  • Your name: Must be completed
  • Your email: Must be an email addresses
  • Your attachments are too large: birth certificate, driver licence

Maybe it should say:

  • Your attachments are too large (help)
  • And help pops up a lightbox to display the file sizes and offer help?