New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Globalize as one or more custom methods for number and date validation #581
Comments
I've been having to cater for this issue for a while now and ended up creating an extension to jQuery Validation which uses Globalize for number / date parsing. You can find it here: https://github.com/johnnyreilly/jquery-validation-globalize I'm guessing that at some point in the future this will no longer be needed but people may find it helpful in the meantime. |
Thanks @johnnyreilly, that's great. I'll probably use that as a starting point, once Globalize is running on top of CLDR. That's currently a work in progress and may involve API changes. |
My pleasure @jzaefferer - I'm keeping an eye on the CLDR changes and will make any necessary amends to jquery.validate.globalize.js once API changes are clear. |
@johnnyreilly btw. the Globalize version based on CLDR is looking pretty good by now. The authors appreciate feedback you might have! |
Thanks for the heads up @jzaefferer - I'll try and take a look sometime soon 👍 |
Note to self: Work with @johnnyreilly to update his project to Globalize 1.x, document that as an alternative to (bad) bundled methods. |
See https://github.com/jquery/globalize/
Passing a value to the appropriate should return a good value to be considered value, while null or NaN would be considered invalid.
The text was updated successfully, but these errors were encountered: