Showing posts with label Fields readonly in ms crm 2011. Show all posts
Showing posts with label Fields readonly in ms crm 2011. 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);
}}