So I have been trying to do global override for all of the fields with a class 'required'. I got it so I can add a red background to any field that fails the validation with the class required like so:
$("#signup_form").validate({
errorClass: "validateError"
});
I have tried using the errorPlacement: function as others have mentioned to remove the error param like so:
$("#signup_form").validate({
errorClass: "validateError"
errorPlacement: function (error, elemenet) {
error.remove();
},
});
This just kills the validation entirely.
One forum mentioned that I need to specify each field that the validation could expect and override the default 'required' message to be nothing in the messages: function. How can I set it globally seeing as this setup needs to be dynamic to anticipate any field with a class required set to it?
Thanks a lot