While disabling fields from 1st method, some lookups, radio buttons and date fields may not get disabled, you have to disable them separately // This loops through all elements of CRMForm, faster and consumes less memory function disableFields(disableenable) { var CRMObjects = new Array(CF. ,CF. ,CF. ,CF. ); for (i=0;i { CRMObjects[i].Disabled=disableenable; } /*now disable all active form elements*/ for (i=0; i 0) { if(crmForm.elements[i].Disabled==false) { crmForm.elements[i].Disabled=disableenable; ...
This blog is about a software product called Dynamics CRM by Microsoft, where as CRM stands for Customer Relationship Management.