Easy MS CRM

Tuesday, May 18, 2010

Change Section name at runtime using Javascript

How many times you wanted to show/hide fields based on some load/save/change event in CRM and you did that with ease. Now I wonder you would have thought of changing the name of a Section as well that appears with a separator bar on top of each block of fields.

In order to do that, here is a sample code :

     crmForm.all..parentElement.parentElement.parentElement.children[0].childNodes[0].innerText="Your text";

0 comments: