[jQuery] Re: [validate] Possible to add form validation logic in multiple places?

2008-05-25 Thread Doug Mayer
} }); > > Jörn > > On Sun, May 25, 2008 at 6:25 PM, Doug Mayer <[EMAIL PROTECTED]> wrote: > > > Trying to implement this now... Working off of what you said, is there > > a way to do something like this? > > > var validationOptions = { rules: { name: { requi

[jQuery] Re: [validate] Possible to add form validation logic in multiple places?

2008-05-25 Thread Doug Mayer
; > > // set page specifc options > $.extend(validationOptions, { ... }); > > // generated > $(...).validate(validationOptions); > > That would work with and without page-specific code. > > Jörn > > On Sun, May 25, 2008 at 5:36 AM, Doug Mayer <[EMAIL PROTEC

[jQuery] Re: [validate] Possible to add form validation logic in multiple places?

2008-05-25 Thread Doug Mayer
ons = {}; > > // set page specifc options > $.extend(validationOptions, { ... }); > > // generated > $(...).validate(validationOptions); > > That would work with and without page-specific code. > > Jörn > > On Sun, May 25, 2008 at 5:36 AM, Doug Mayer <[EMAIL P

[jQuery] [validate] Possible to add form validation logic in multiple places?

2008-05-25 Thread Doug Mayer
I'm working on an ASP.NET validation integration with jQuery, and there are some things that inherently don't fit with how I'm defining my validation. There are some things like required with dependency expression and callbacks that are easier to ignore and define in the page yourself. My projec