Skip to content
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 HTML CSS
Find file
Latest commit c108d0f @ericelliott Merge pull request #100 from wbinnssmith/wbinnssmith/main
Add main field and remove engines




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.