This could be helpful for the circumstances when you need to dynamically determine the error message for one of you custom validators:
$.validator.addMethod('customvalidatorname', function(value, element, parameters) { return validationFunction(); }, function(params, element) { return errorMessageFunction(); });
The third parameter to addMethod can be a function which dynamically determines your error message.