How to disable all fields on the form through Jscript? There are many occasions where you need to disable all fields/controls on an entity form. Here is the code snippet that shows how to do that. // JScript source code function DisableFieldOnHold() { if (Xrm.Page.getAttribute("statuscode").getValue() == "2") { disableFields(); } function disableFields() { var attributes…
