The Daily Web

Developer stories, quotes and links by @vestimir

Follow @thedailyweb

Constraint Validation: Native Client Side Validation for Web Forms - HTML5 Rocks »

Validating forms has notoriously been a painful development experience. Implementing client side validation in a user friendly, developer friendly, and accessible way is hard. Before HTML5 there was no means of implementing validation natively; therefore, developers have resorted to a variety of JavaScript based solutions.

To help ease the burden on developers, HTML5 introduced a concept known as constraint validation - a native means of implementing client side validation on web forms.