Use set Disabled using Javascript in MSCRM/CE, to make a field read only/Lock and Unlock a field in MSCRM/CE
We have a requirement to lock the website field if phone field has value and if phone field is empty the unlock the website field. On Change of Phone, JavaScript will execute setDisabled function on Account Entity and make the field lock and unlock as per our business requirements. JavaScript (Event Handler) will be added on Account entity and OnChange Event of Phone. So JavaScript function will trigger on change of Phone field.
Read More

