Showing posts with label read only the form in ms crm. Show all posts
Showing posts with label read only the form in ms crm. Show all posts

Friday, April 11, 2014

Make all the Fields Readonly in the CRM form 2011

var controls = Xrm.Page.ui.controls.get();
for (var i in controls){
var control = controls[i];
if (!control.getDisabled()){
control.setDisabled(true);
}}