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

On Thu, Nov 20, 2008 at 10:02 AM, Arpan Dhandhania <[EMAIL PROTECTED]> wrote:
>
> Hi,
>    I am using jQuery's validate plugin. I followed the examples and
> have defined $("#signup-form").validate(...) inside $(document).ready
> (...). This works for me.
>
> What this does is that when I submit the form, it calls validate().
> What I want to do is call validate() from within a function. When the
> form is submited, I want to call a function which in turn calls
> validate (after processing some of the fields).
>
> I was wondering if this is supported, or if there is a work around for
> this problem.
>
> thanks in advance,
> Arpan D
>

Reply via email to