jquery-validation
jquery-validation copied to clipboard
New features not included
There are new methods which is not included in the package please consider an update, for instance phoneUS validation isn't working, here is the cdn to the new methods from website: additional-methods
Hi @ItIsArmin, this package has been deprecated in favor of the official NPM version of jquery-validation: https://www.npmjs.com/package/jquery-validation
@cleverbeagle - How exactly do we apply the npm package on the client side?
Hey @KaitaniLabs I'd recommend taking a look at the module we use in our boilerplate Pup @cleverbeagle. Two things to check out:
- The module that we've defined which contains a light wrapper around jQuery Validation: https://github.com/cleverbeagle/pup/blob/master/imports/modules/validate.js. You can import this into the file where you'd like to make use of the library.
- This example of using the library inside of a component: https://github.com/cleverbeagle/pup/blob/master/imports/ui/components/DocumentEditor/DocumentEditor.js#L13.
The only prerequisite here is to do meteor npm i --save jquery-validation if you haven't already so that you have the library installed.
@cleverbeagle thanks for the response. I was trying import 'jquery-validation' from 'jquery-validation' couldn't work it out for the life of me.
Decided to take a plunge and have a go at coding my own system, no better way to learn.
Thanks again.