jquery-validation icon indicating copy to clipboard operation
jquery-validation copied to clipboard

New features not included

Open ItIsArmin opened this issue 8 years ago • 4 comments
trafficstars

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

ItIsArmin avatar Nov 01 '17 22:11 ItIsArmin

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 avatar Nov 02 '17 13:11 cleverbeagle

@cleverbeagle - How exactly do we apply the npm package on the client side?

KaitaniLabs avatar Apr 10 '18 14:04 KaitaniLabs

Hey @KaitaniLabs I'd recommend taking a look at the module we use in our boilerplate Pup @cleverbeagle. Two things to check out:

  1. 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.
  2. 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 avatar Apr 11 '18 20:04 cleverbeagle

@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.

KaitaniLabs avatar Apr 11 '18 21:04 KaitaniLabs