Aaron,

>I may be misunderstanding something, but what does this do that
>$.validator.addMethod[1] doesn't?

The addMethod would accomplish the same thing. The addMethod() is really
affective for building a library of reusable validation method.

However, there are times when you have very specific, non-reusable rules you
need to implement. For these cases, being able to just define a rule inline
makes a lot of sense. 

Also, the original discussion came from how to validate either/or type
validation rules and I was just trying to think of ways you might easily
build a rule to do that.

-Dan

Reply via email to