The remote method handles the resubmit. To find the actual issue here,
I'd need a complete testpage.

Jörn

On Wed, Dec 24, 2008 at 3:54 PM, eben <e...@bakedbean.net> wrote:
>
> I have a simple form with one select list as it's element.  I am using
> the validate plugin to do remote ajax validation on that element.  The
> response returns a true or false.
>
> This all works fine, but the problem is that the validation takes
> place when you click the submit button, since there are no other form
> elements to move to.  You then have to click the submit button twice,
> once to validate, and again to actually perform the submit...
>
> Is there a way to have it automatically submit after the validation
> returns true?
>
> Here's the code:
> $(document).ready(function() {
>                    // validate signup form on keyup and submit
>                    $("#the_form").validate({
>                       rules: {
>                        element: {
>                                 remote: "remote.php"
>                        }
>                 }
>          });
>
> thanks,
> Eben

Reply via email to