Menu
I’m stumped! I need to do a very simple validation – did one of the radio buttons get checked (there are two)?
This is what I’m trying to do:
}
//Validate the CD Field
if(document.Order1.CD[0].checked &&
document.Order1.CD[1].checked )
{
alert(“Please choose if you wish a CD”);
document.Order1.CD.focus();//Focus on the field
return false;
}
What am I doing wrong??
Thanks for any help!
Critters