rubyforgood/playtime

Improve form error appearance

Closed this issue · 5 comments

When a user submits invalid data to the form, the resulting error messages look a little unfortunate:

error messages

It'd be nice to polish this a bit. I vote for putting the errors inline with Bootstrap form validation (or at least highlighting the "bad" fields), but reasonably formatting the master error list at the top is also an option. I believe all of our forms need this improvement.

bootstrap form validation

Hi there,
I can take this on!

Awesome! 🎉 Ping us here or on the slack (invite link, we're on #playtime) if you have any questions.

Alright. Ill jump on to the slack once I get home. One quick question, this is for all forms in the application correct?

Correct!

ETA Fix should come in this weekend.
Found this really nifty gem https://github.com/amatsuda/html5_validators
Literally does everything we need but I just want to be safe and test out.