Hi, I am trying to set the visibilty of a lookup control based on a condition of another attribute on a form. When this attribute has a value, I want the lookup control to be made visible. The issue I am having is, the Label for the lookup control is being displayed but the lookup control isn't. This is an example of what I'm trying to achieve.
var x = Xrm.Page.getAttribute("attribute").getValue();
if (x != null){
Xrm.Page.getControl("lookup").setVisible(true);
}
*This post is locked for comments
I have the same question (0)