News for hackers. Stuff that matters.
Re:Why the Gov.uk Design System team changed the input type ... by andreareina on Thursday February 27, 2020 @09:05PM (#22439937)
Why are you going to server-side only? I've always held that client-side validation is important for UX as it provides instant feedback and doesn't need any extra work to preserve the other data that's already been input. Obviously the inputs still need to be validated on the server e.g. to protect against things that get past (or bypass) the client-side checks, or perform more expensive validation.
Re:Why the Gov.uk Design System team changed the input type ... by joelanman on Friday February 28, 2020 @05:05AM (#22441740)
We'll be publishing soon on the GOV.UK Design System, but in summary we can't make browser validation consistent with our Design System, or guarantee it's always accessible.

In our research it's commonly most often helpful to validate when the user submits as that's when you can be sure they're 'done'. There are cases when realtime helps so it's fine to add it in those situations.