osuosl / streamwebs

Streamwebs.org website
http://streamwebs.readthedocs.io/
4 stars 1 forks source link

All forms should have server side (only) validation. No client side pop-up validation. #575

Closed CarvellWakeman closed 6 years ago

CarvellWakeman commented 6 years ago

Use 'novalidate' property on form tag to do this. Make sure formModel is properly validated and form.is_valid() is being called in the controller

TODO

Datasheets

Example image See #521 for example implementation

Testing:

  1. Go to each form listed above, submit with bad data and again with blank data
  2. See if border highlight is as expected
  3. See if toast with errors shows up properly
CarvellWakeman commented 6 years ago

PR #533 has some stuff we can use for one of the forms.