Answer Question
Radio Button Validation
Hello Friends pls help me if u can..I have jus started studying PHP..Ihave a doubt in radio button validation.
My doubt is that :I have to validate radioo buttons in two questions...my program is dealing with holiday registration...i am able to check the radiobuttons in first qn..how can i check the radio buttons in second qn also..pls help me with the code..the code i used for checking first set of radiobuttons is as follows...
if(!document.form1.RadioGroup1[0].checked && !document.form1.RadioGroup1[1].checked && !document.form1.RadioGroup1[2].checked && !document.form1.RadioGroup1[3].checked)
{
alert("Please select place");
return false;
}
return true;
TEXT
Uploading file and scanning for virus...
Please Wait