In CRM 4.0, the checkbox onChange doesn’t work. it is the onClick() for checkbox that works. So we need to implement the onClick() event in the onLoad() event of the form. Sample code is as given below:

crmForm.all.new_check.onclick = function()
{
   if ( crmForm.all.new_check.checked )
   {
      crmForm.all.new_from.style.display=’none’;
   }
   else
   {
      crmForm.all.new_from.style.display=’inline’;
   }
}

One thought on “CRM 4 – CheckBox Onchange() Event Triggering”

Leave a Reply