In the lead , onload function i would need to disable and enables some controls but it is not disabled because Xrm.Page.getAttribute('name').setDisabled or setVisible is not a function, it is turbo form by checking the Xrm.Internal.isTurboForm(); code. It returns true.
Could you please guide how should i disabled/ enabled control in the lead onload?
*This post is locked for comments