Validation Plugin - v1.11.0 Remote Validation Not Showing JS Message

Validation Plugin - v1.11.0 Remote Validation Not Showing JS Message

Hi,

I am learning JQuery Validation.  It's great.  But I am having problems setting the message for remote validation through the rules and messages options. The message works fine when coming from the server. But I would prefer to keep all the messages together in javascript.  If I do not use the server message, only 'false' appears in the error label.  And the remote message set in js options is ignored.  I have tried to follow the pattern found in the Milk demo. How can I fix this?  The messages are being displayed in a container at the top of the page. 
Thanks.

  1. $(document).ready(function () {
  2.     $.validator.addMethod('noanon', function (value) {
  3.         return value.toLowerCase().indexOf("anonymous") != 0;
  4.     }, 'Do not hide behind the cover of anonymity');

  5.     $('#commentForm').validate({
  6.         errorContainer: '#errorbox',
  7.         errorLabelContainer: '#errorbox ul',
  8.         wrapper: 'li',
  9.         highlight: function(element, errorClass){
  10.             $(element).fadeOut(function () {
  11.                 $(element).addClass('invalidElem').fadeIn(1000);
  12.             });
  13.         },
  14.         unhighlight: function(element, errorClass){
  15.             $(element).removeClass('invalidElem');
  16.         },
  17.         rules: {
  18.             name: {
  19.                 required: true,
  20.                 minlength: 2,
  21.                 noanon: true,
  22.                 remote: '/api/UserValidation'
  23.                  },
  24.             email: {
  25.                 required: '#csub:checked',
  26.                 email: true
  27.             },
  28.             comment: { required: true }
  29.         },
  30.         messages: {
  31.             comment: {
  32.                 required: 'This is a comment form.  Your comment cannot be blank'
  33.             },
  34.             email: {
  35.                 required: "You must enter an email to get the newsletter?",
  36.                 email: 'Email addresses are of the form user@host.'
  37.             },
  38.             name: {
  39.                 required: 'Your name is required if you want to leave a comment.',
  40.                 minlength: $.format('You need at least {0} characters for your name.'),
  41.                 remote: $.format("'{0}' has been taken")
  42.             }
  43.         }
  44.     });
  45. });