I think this should be a simple piece of javascript but am unsure of the correct syntax to disable a form element using javascript as i have never come across it. Any advice would be gratefully received.
if(theForm.p_close_date.value!=0)
{
p_close_date=disabled
{
return false;
}
}
if(theForm.p_close_date.value!=0)
{
p_close_date=disabled
{
return false;
}
}