Menu
How do I make a checkbox validation dependant on radio button?
so:
if [radio1] is clicked;
then [checkbox] must be clicked
else if [radio2] is clicked;
then [checkbox] does not have to be clicked
I tried disabling it but it still gave me the alert
[CODE]
function disable_validation()
{
if(GetElementById(“radio2”).checked)
{
GetElementById(“checkbox”).disabled=true;
}
}
is there another way of saying it so it turns it off?
thanks for helping this noob