title: Dynamics CRM 2011/13 - Reenable onChange event on form field when user didn´t make changes
body: <p>I have a validation method for an email form field, which is called on the onchange event of the field and sets the focus back on the field, if the validation fails: </p>
  
  <pre><code>function ValidateEMail(event) {
  
      var source = event.getEventSource();
      var value = source.getValue();
      var re = /^(([^&lt;&gt;()[\]\\.,;:\s@\"]+(\.[^&lt;&gt;()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/igm;
  
      if (value == '' || !re.test(value))
      {
        Xrm.Utility.alertDialog('Bitte geben Sie eine gültige E-Mail Adresse ein', null);
        Xrm.Page.getControl(event.getEventSource().getName()).setFocus(true);
        return false;    
      }
   } 
  </code></pre>
  
  <p>}</p>
  
  <p>The problem is that the onchange event is not fired again if the focus leaves the field the next time and the user didn´t make any changes. Unfortunately there is no lostFocus event I could use instead. Du you have any suggestions to solve this?</p>