Hacker News new | ask | show | jobs
by nitwit005 605 days ago
Most of the forms features are from the early 90s. You're not working in the same millennium as some of the specification writers.
1 comments

The `required` attribute, which this article is about, is an HTML5 thing and first appeared in browsers in 2010-2011. So sure, not brand spanking new, but the web was already used to write modern apps. There's no good reason for the validation features to be so shabby.
Even 'required' doesn't work properly. Browsers do very odd and inconsistent things when your required field is hidden when submitting. Like in a basic tabbed or multi-step form.