Источник:
http://crmpro.blogspot.com/2010/06/h...-field-by.html
==============
That snippet will hide a section by it name(label) or by label of any field wich is in this section.
if(crmForm.all.new_1!=null)
{
var oField = crmForm.all.new_1;
// field to hide
var FieldToHide;
if(document.getElementById("IDENT") != null)
{
FieldToHide = document.getElementById("IDENT");
FieldToHide.style.display = "block";
}
// section to hide
var td = document.getElementsByTagName("td");
var tableH;
for(var i=0; i