In this article , I am going to explain how to get and set control disable
Get disable control
var isdisable = Xrm.Page.ui.controls.get("attributename").getDisabled();
True value shows disable field
Set control disable
Xrm.Page.ui.controls.get("attributename").setDisabled(true);
Get disable control
var isdisable = Xrm.Page.ui.controls.get("attributename").getDisabled();
True value shows disable field
Set control disable
Xrm.Page.ui.controls.get("attributename").setDisabled(true);
how can i get the value of a custom field?
Reply Delete