none
How can I remove the placeholders for hidden forums in CRM 2011?

    Question

  • Hello, before upgrading to Roll up 2012 I need to first update some of my java script methods to use methods with cross-browser functionality.  In our old code, we hid a field like this:

    Ex: 

    crmForm.all.description_c.style.display="none";

    crmForm.all.description_d.style.display="none";

    With the new methods I'm trying to use:

    Xrm.Page.ui.controls.get("description").setVisible(false); 

    OR 

    Xrm.Page.getControl("description").setVisible(false);

    The old method would also remove the placeholder for that field.  The new method does not.. :(  Does anyone know of a better method or how to hide the placeholder of a hidden field?

    Thank you in advance! 

    Beth

    Friday, June 28, 2013 9:30 PM