Did you just try that? Jörn
On Thu, Nov 20, 2008 at 2:14 PM, Arpan Dhandhania <[EMAIL PROTECTED]> wrote: > > Thanks Jorn. But if 'myHandler' returned false? What I want is that if > 'myHandler' returns false, it should not go ahead with the validate(). > I am handling that case separately. If 'myHandler' returned true, it > should proceed. > > Arpan D > > On Nov 20, 5:09 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> > wrote: >> You could bind a submit event handler before calling validate. That >> way your handler should be executed before the validation. >> >> $("#myform").submit(myHandler).validate(); >> >> Jörn