mysociety / contract-countdown

https://mysociety.github.io/contract-countdown/
0 stars 0 forks source link

Improve bootstrap form error handling across the site #31

Closed zarino closed 1 year ago

zarino commented 1 year ago

The error handling for the postcode form is particularly odd.

We currently have server_side_validation: False in the BOOTSTRAP5 settings, to hide the green "success" validation on valid fields … but that means we lack error styling for invalid fields. :-/

Needs some thinking about.

alexander-griffen commented 1 year ago

@zarino - do you want to close this now, or I can make a PR to ensure {% bootstrap_field FIELDNAME %} is used everywhere across the site first?

zarino commented 1 year ago

or I can make a PR to ensure {% bootstrap_field FIELDNAME %} is used everywhere across the site first?

@alexander-griffen that would be great, if it’s fairly quick to do.