[jQuery] jQuery validtion plugin questions

[jQuery] jQuery validtion plugin questions


I am trying to make sure that the three tablechoice fields are not
equal to each other.
I have set up a remote script to return "true" or "false" based on the
field settings.
If I select tables a,b and c the form subits as expected.
however for example if it set them equal to a, b, and b and then
changes the
values to a, b,c it still thinks there is an error for some reason.
Any thoughts on what I might be doing wrong? After clicking the
submit buttons a few times it will finally submit.
$().ready(function() {
        $("#signupForm").validate({
        rules: {
            firstname: "required",
            lastname: "required",
            companyname: "required",
            email: {
                required: true,
                email: true
            },
            phone:{ phoneUS: true },
            firstchoice: {
onblur: "false" ;
remote: {
url: "attendee_paypal_validate_table.php",
type: "post",
data: {
choice1: function() {
return $("#firstchoice").val();
},// send choices as post var
choice2: function() {
return $("#secondchoice").val();
},
choice3: function() {
return $("#thirdchoice").val();
}
}// end data
}// end remote
},// end firstchoice
     secondchoice: {
remote: {
url: "attendee_paypal_validate_table.php",
type: "post",
data: {
choice1: function() {
return $("#firstchoice").val();
},// send choices as post var
choice2: function() {
return $("#secondchoice").val();
},
choice3: function() {
return $("#thirdchoice").val();
}
}// end data
}// end remote
},// end secondchoice
     thirdchoice: {
remote: {
url: "attendee_paypal_validate_table.php",
type: "post",
data: {
choice1: function() {
return $("#firstchoice").val();
},// send choices as post var
choice2: function() {
return $("#secondchoice").val();
},
choice3: function() {
return $("#thirdchoice").val();
}
}// end data
}// end remote
}// end thirdchoice
        }, // end rules
        messages: {
            firstname: "Please enter your first name",
            lastname: "Please enter your last name",
            companyname: "Please enter your company name",
            //secondchoice: "You cannot select the same table twice",
            confirm_password: {
                required: "Please provide a password",
                minlength: "Your password must be at least 5 characters long",
                equalTo: "Please enter the same password as above"
            },
            email: "Please enter a valid email address",
            agree: "Please accept our policy"
        }
    });
});