Sure. Something like this:

$.validator.addMethod("custom", function() {
  var validEmail = $.validator.methods.email.apply(this, arguments);
  return validEmail && someOtherCheck();
});

Jörn

On Thu, Sep 3, 2009 at 6:37 PM, TheChrisPratt<thechrispr...@gmail.com> wrote:
>
> I have a case where I want to create a validator that makes use of
> already defined rules.  Is it possible to somehow call <pseudocode>
> $.validator.rules.ruleA('value',element,null)</pseudocode>?? Thanks.
>  (*Chris*)

Reply via email to