Knowledge found and lost while working with Microsoft Dynamics CRM
RSS icon Home icon
  • Update: Hiding CRM 3.0 Form Tabs

    Posted on July 17th, 2006 mitch Print Print No comments

    Here is an update to the very first article ever published on this blog:

    Hiding a tab on a data entry form in CRM 3.0

    The only side-effect of the technique outlined in that article, is if you hide a tab in the middle of the tabset, there is an awkward blank spot.

    A couple of weeks ago I got into an email conversation with Jerry O'Sullivan about this issue and admited that I really didn't have any idea of a way to get around it.  Well, it turns out, James Wilcox, one of Jerry's clients, came up with the solution:

    tab1Tab.style.display = 'none';

    I could just kick myself. Of course that is the answer, just like I've written about in several articles dealing with form fields.

    When you set an HTML element's display style to "hidden" it will insert it on the page in a non-viewable state.  It's still there, but you can't see it.

    If you set the display style to "none" it is in effect, removed from the page.

     

    Thanks to Jerry and James for the update and information.

    Customization, Dynamics CRM
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
    2,651 views

    Leave a reply