In order to assign value to and SAVE a read only field by javascript, write crmForm.all.<field>.ForceSubmit = true;
after crmForm.all.<field>.DataValue="some value";
In order to assign value to and SAVE a read only field by javascript, write crmForm.all.<field>.ForceSubmit = true;
after crmForm.all.<field>.DataValue="some value";