News for hackers. Stuff that matters.
Re:Living without the modern browser by dfox on Wednesday July 10, 2019 @09:56AM (#20401951)
Most forms either don't need any kind of validation or you still have to validate the data on the server and do something reasonable when it fails.

Repopulating the form on the server side after validation failure is trivial and even more so when there are libraries that abstract that away (eg. wtforms).

On a similar note I somehow fail to see the benefit of writing (and often duplicating) large parts of business logic in client-side javascript and replacing perfectly good HTML form-submission mechanism with random JSON "REST" APIs.

Re:Living without the modern browser by GrinningFool on Wednesday July 10, 2019 @11:37AM (#20402980)

    > Repopulating the form on the server side 
    > after validation failure is trivial 
You'd think so, but the number of sites out there that still require me to re-type the full form because one field failed validation is mind-boggling.