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.
576
stars
125
forks
source link
Provided pattern for numbers requires digit before decimal point #53
So, it validates 0.1 but rejects .1 . This regex is credited to bassistance.de , but on their demo page validation works correctly.