title: Dijit ValidationTextBox: invalidMessage displayed or not, depending on what the user makes first
body: <p>I've defined a <code>dijit.form.ValidationTextBox</code>:</p>
  
  <pre><code>var nameBox = new ValidationTextBox({
      style: 'width: 300px;',
      trim: true,
      required: true,
      regExp: '.{5,50}',
      invalidMessage: 'Name is required and must be between 5 and 50 characters',
      value: dto.name
  }, 'name')
  </code></pre>
  
  <p>But the validation isn't working exactly as I would expect. If I go into the field, I enter 3 characters and leave, I get the given message. When I clear the field afterwords, I still get the same message.</p>
  
  <p>However, when I first focus the field and leave it empty, I get the message:</p>
  
  <blockquote>
    <p>This value is required</p>
  </blockquote>
  
  <p>When I, afterwards, enter 3 characters, I have the same standard message, not the custom message I've given. </p>
  
  <p>It seems that the 1st error message that is issues got 'stuck' on the widget. It is some kind of bug, or I've misconfigured something? I'm using <strong>Dojo 1.9.2</strong>.</p>