Shawn Redmond
hideNavBarItemByName("Details:", "Divisions");
If (crmForm.all.fieldname != 3)
{
hideNavBarByItemName(‘Details’, ‘Value1');
hideNavBarByItemName(‘Details’, ‘Value2');
}
{
setNavBarItemVisibilityByName(sectionName, itemName, false);
}
setNavBarItemVisibilityByName = function( sectionName, itemName, visible )
{
var groups = document.getElementById("crmNavBar").childNodes;
if( groups != null )
{
for( var i = 0; i < groupname =" groups[i].childNodes[0];" items =" groups[i].childNodes[1].childNodes;" n =" 0;" item =" items[n];" display =" visible">