title: jquery validate show error on dynamic field name
body: <p>I'm using the jquery validate plugin to validate my form. There is also server side validation and I'd like to be able to flag up the fields showing errors from the server side validation such as unique email if it's not been caught by the jquery validation.</p>
  
  <p>I'm receiving a json object from my server script which has field name and then error.</p>
  
  <p>I thought of using the <code>showErrors()</code> function but can't work out the right way to get this to work. Here's my script so far:</p>
  
  <pre><code>$.each(errors, function (key, value) {
      console.log("Key:", key);
      validator.showErrors({
      key: value[0]
      })
  });
  </code></pre>
  
  <p>This throws an error - <code>uncaught typeError</code> so I assume referencing key as the field name doesn't cut it. I realise it's evaluating <code>key</code> as the field name rather than the value contained in <code>key</code> which is what I'm trying to achieve.</p>
  
  <p>Thanks</p>