Force Submit on a Read-Only or Disabled Field on CRM 2011
by Brian Greig

By default, if a field on your form is disabled, it will not save any changes made via script. In these cases you need to specifically change its submit mode as follows:

1
Xrm.Page.getAttribute("new_attributename").setSubmitMode("always");
Xrm.Page.getAttribute("new_attributename").setSubmitMode("always");

Pure and simple!

Leave a Reply