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.
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.