I have configured a business rule to show/hide fields depending on another field value. The business rule works fine in both browser and tablet.
I have other business rules to lock fields depending on another field value, that work fine in browser and not in tablet. The boolean fields and the option set fields are locked, other fields are not locked.
The scope of the business rules is set to "All forms" and I check that all the fields for the Business Rules are showing up in the CRM Tablet.
I try to lock these fields by javascript but it doesn't work on tablet
Code :
Xrm.Page.ui.controls.forEach(function (control, i) {
if (control && control.getDisabled && !control.getDisabled()) {
if(control.getName()=="control_name")
control.setDisabled(false);
}
});
Anyone experience the same issue or have any suggestions?
Thanks in advance for any help.
*This post is locked for comments