locked
Hide Attribute in an entity RRS feed

  • Question

  • i want to hide a lookup field in an entity from javascript 

    i will write the code in onload event of that entity

    Thanks
    varun kumar
    Friday, October 30, 2009 11:48 AM

Answers

  • Hi.

    Try following script:

    crmForm.all.<field name>_c.style.display = 'none';
    crmForm.all.<field name>_d.style.display = 'none';
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Marked as answer by VarunKumar17 Friday, October 30, 2009 12:22 PM
    Friday, October 30, 2009 11:52 AM
    Moderator

All replies

  • Hi.

    Try following script:

    crmForm.all.<field name>_c.style.display = 'none';
    crmForm.all.<field name>_d.style.display = 'none';
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Marked as answer by VarunKumar17 Friday, October 30, 2009 12:22 PM
    Friday, October 30, 2009 11:52 AM
    Moderator
  • Thanks
    Friday, October 30, 2009 12:22 PM