So i then use Javascript to do validation - make sure its not missed out…
if (doc.Decision[1].checked == true && doc.TechJust.value == “”)
{
alert("Technical Justification needs to be filled out\nbefore Engineering is marked as Complete.");
return false;
}
The problem is…I get the error message when i dont fill it in…thats fair enough, but when i put in a value…it STILL prompts me for a value…Am I missing something here?
Try the following and see if it works. I’m referencing the selected value and checking to see if the value equals the right thing. I’m not sure if the checked property will work with a combobox, but is should work with a radio and check box.
frm = document.forms[o];
var comboBoxValue = frm.comboBox.options[frm.comboBox.selectedIndex].text