$(...).validate({
 rules: { ...},
 messages: { ... },
 submitHandler: function(form) {
  if (confirm("Really?") {
    form.submit();
  }
 },
 otherStuff: ...,
  etc...
});

On Sun, Nov 16, 2008 at 10:09 PM, flycast <[EMAIL PROTECTED]> wrote:
>
> Thanks!
>
> I am having a hard time getting my form to validate now. Would I place
> my rules here?
>
> $(...).validate({
>  submitHandler: function(form) {
>   if (confirm("Really?")) {
>     rules...
>     messages...
>     etc...
>     form.submit();
>   }else{
>     //stuff to do if the form does not validate
>  }
> }
>
> });

Reply via email to