I’m using the jQuery Validation Plugin on my page and have the following code for errorPlacement:
errorPlacement: function(err, el) {
err.insertAfter(el);
}
Works as intended but for the required fields I don’t want the default message to show up for the required rule. So if Email has rules for required and email, I only want the error message to display if it is for the email rule, not the required rule. Is there a way to disable just the required message?
1 Answer