3 ms·
You'd think after a decade of writing forms and form validation on the internets I'd get better at it, but nope, have to reinvent the wheel every time for every
by Cthulhu_ 2y ago
You'd think after a decade of writing forms and form validation on the internets I'd get better at it, but nope, have to reinvent the wheel every time for every framework/form library because nothing is ever finished or good enough. I had hopes HTML5 would fix it but it didn't.
- gwynforthewyn 2y agoYou sound much more experienced as a web developer than me, so you probably know this exists, but just trying to be helpful I want to be sure you know about client side form validation in html5 https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation#using_built-in_form_validation https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_va... I appreciate this doesn't cover anything more than the basics, so something like the normal behaviour of comparing two password fields for the same content doesn't work, but I find these controls are useful for getting something simple up and running.
- marcosdumay 2y agoThis is full of issues. There has been a recent discussion about it here¹, you may be interested on that. Also, it doesn't do much. 1 - https://news.ycombinator.com/item?id=41976529 https://news.ycombinator.com/item?id=41976529