title: Saving field updates that are triggered by an OnSave event
body: <p>I'm in the process of customizing our CRM solution, but I've run into a problem today.  I have a JavaScript that is triggered by the OnSave event.  This JavaScript updates a field in the form, and tries to save again.</p>
  
  <p>When the script executes, I can see the field I'm trying to update change, but when the form reloads, that field still has its old value.  I've put a little bit of sudo code below.  Has any one else ever had this problem?</p>
  
  <p>OnSave</p>
  
  <pre><code>//Update field 
  Xrm.Page.getAttribute("fieldname").setValue(value);  
  //Set submit mode to always 
  Xrm.Page.getAttribute.setSubmitMode("always");  
  //Force save 
  Xrm.Page.data.entity.save();  
  </code></pre>