Hi..
i am trying to create a field show and hide option which works on check box - which when checked is 'yes' and when unchecked is 'no'
the onchange() is working little weard.. once i click the check box there is no action happening.. but once i click outside in the form after checking.. it works.. please help.. i want the action to take place once the check box is selected.
this is the code..
if(crmForm.all.new_others.DataValue==true)
{
crmForm.all.new_contractpurposedetails_c.style.display = 'none';
crmForm.all.new_contractpurposedetails_d.style.display = 'none';
}
else
{
crmForm.all.new_contractpurposedetails_c.style.display = '';
crmForm.all.new_contractpurposedetails_d.style.display = '';
}
please help..
(prijil.p.s)