I've got a remote validation rule on my form, however the wizard doesn't wait for that to return it's result before moving to the next page. Any suggestions on what to do?
`jQuery('#SignupForm').validate({
rules: {
email: {
required: true,
email: true,
remote: the_ajax_script.ajaxurl
}
},
errorPlacement: function (error, element) {
if (element.attr("name") == "email" && jQuery("#passwordpanel").is(":hidden")) {
jQuery("#passwordpanel").slideDown("slow");
} else {
error.insertAfter(element);
}
},
errorElement: 'em',
I've got a remote validation rule on my form, however the wizard doesn't wait for that to return it's result before moving to the next page. Any suggestions on what to do? `jQuery('#SignupForm').validate({ rules: { email: { required: true, email: true, remote: the_ajax_script.ajaxurl } }, errorPlacement: function (error, element) { if (element.attr("name") == "email" && jQuery("#passwordpanel").is(":hidden")) { jQuery("#passwordpanel").slideDown("slow"); } else { error.insertAfter(element); } }, errorElement: 'em',
});`