I am using jQuery Validate for a form.
I have a field that is required, but I don't want to display any error message for the field. I just want the form submission to be blocked.
I have tried setting the element error message to this:
messages: {
required: ""
}
However, due to default validation format that I don't have access to (it is a common file that I cannot change), I still see a background/box with a blank error message.
Is there a way to hide the rendering of the error message for a specific element, while still preventing the form submission?
.validate()?