Constraint Validation API

Speaking of forms, have you had a good look at the Constraint Validation API? I'd used this minimally at Komodo, but hadn't had a good look at everything that it can do until it popped back up on Twitter the other day. I'd just been using input.validity.valid and form.reportValidity() but it turns out that the Constraint Validation API can basically replace your entire JavaScript validation framework in like 90% of cases.

Which means that with judicious use of novalidate and just a little bit of JS, you can provide full-featured input validation at a fraction of the cost:

Web Code

Next

Manchester

In Manchester for a couple of days and boy do I dig it.

Previous

Form input inconsistencies

The <input> element and the <select> element submit different values to the backend, depending on how you use 'em.