I created a form application that contains a number of radio buttons. Depending on if particular radio buttons are checked, I decide if certain text fields are editable or not.
To accomplish this feat, I created code that looks like the following:
if(document.F1.Tractor_Exp[0].checked){
document.F1.Tractor_Yrs.value = “”;
document.F1.Tractor_Yrs.disabled = true;
document.F1.Tractor_Yrs.style.background=‘CCCCCC’
}
if(document.F1.Tractor_Exp[1].checked){
document.F1.Tractor_Yrs.disabled = false;
document.F1.Tractor_Yrs.style.background=‘FFFFFF’
}
Since this method mimics the example provided in the ScriptCase Documentation, I thought it would work perfectly.
However, the javascript event is not functioning at all.
Can another see what I am doing wrong, or make suggestions to get this event to work?
Please Advise