Показать сообщение отдельно
Старый 22.06.2010, 20:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
CRM Programmer: How to hide a section or field by picklist value
Источник: 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
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.