Hello, I'm using the jQuery Validation plugin (which is awesome by the way). I need to dynamically add a validation rule, so I use the rules("add", rules) method. I set it up to do remote validation, which works, but I want to display a custom message, not the default "Please fix this field." message.
I tried to do something like this: $("#include_patterns").rules("add", { remote: "/my/remote/check_valid/", messages: { remote: "Please enter a valid pattern." } }); based on the example from http://docs.jquery.com/Plugins/Validation/rules#examples: $("#myinput").rules("add", { required: true, minlength: 2, messages: { required: "Required input", minlength: jQuery.format("Please, at least {0} characters are necessary") } }); but it still gives the default "Please fix this field." message. Does this custom message not work for remote? Thanks! BH