Seems to me that setVisible used to move the fields up in CRM 2011, I've noticed sometimes in CRM 2013 it leaves a blank.
Here is what I'm trying to do.
Approver 1
Approver 2
Approver 3
Approver 4
There are scenarios where different approvers may not be required, for example 1 and 4 not required for one case; however in another 1, 2 and 4 are required. I only want to show the names of the individuals involved.
function hideShowEmployee(employeefield)
{
var d = Xrm.Page.data.entity.attributes.get(employeefield).getValue();
if (d != null && d != "") {
Xrm.Page.ui.controls.get(employeefield).setVisible(true);
}
else
{
Xrm.Page.ui.controls.get(employeefield).setVisible(false);
}
}
*This post is locked for comments
I have the same question (0)