Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An HTML5 form validation plugin for jQuery. Works on all major browsers, both new and old. Implements inline, realtime validation best practices (based on surveys and usability studies). Developed for production use in e-commerce. Currently in production with millions of users.
JavaScript CSS Shell
Latest commit 6116493 Eric Elliott Update status with letter about h5v2.




I'm Eric Elliott, author of "Programming JavaScript Applications" (O'Reilly). A few years ago, I wrote this jQuery plugin that understands HTML5 forms and knows how to validate them, even in browsers that don't yet support HTML5.

In browsers that do support HTML5, h5Validate adds some much-needed features, such as the ability to customize the user interface when an input fails validation.

For demo and usage, see the h5Validate homepage.


A lot has changed since I wrote this library in 2010. So much, in fact, that I've started a new project based on the great work we did here. It's called h5v2. It's brand new, we haven't even ported the unit tests, yet.

Wouldn't you like a library like h5Validate written to work with node-style modules, Browserify, and web components? I'd love your help. Take a look at the issues and contribute!

Something went wrong with that request. Please try again.