here is my code but it does nt work i have put it in the onload event of the form
//My Javascript
var new_originalid= crmForm.all.new_originalid;
//Check the existence of the datetime field. It may not be included in a quick create form!
if new_originalid!= null)
{
crmForm.all.name.disabled = true;
crmForm.all.emailaddress1.disabled = true;
crmForm.all.new_inactivedate.disabled = true;
}
else
{
crmForm.all.name.disabled = false;
crmForm.all.emailaddress1.disabled = false;
crmForm.all.new_inactivedate.disabled = false;
}
pls help
Regards
*This post is locked for comments
I have the same question (0)