ericelliott / h5Validate

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

Closed jhrabows closed 12 years ago

jhrabows commented 12 years ago

So, it validates 0.1 but rejects .1 . This regex is credited to bassistance.de , but on their demo page validation works correctly.

ericelliott commented 12 years ago

They fixed this same bug in their latest update.

ericelliott commented 12 years ago

Fixed. Thanks for the report!