Hey all,
I have a form and I have a checkbox (and when this is checked i need to make sure that the textfield also has text in it before submitting)
Any ideas on a quick easy way to do this?
Thanks in advance
PS here is my code snippet of what i’ve tried:
if(form1.check2.checked==true){
alert("Please enter your email address");
return false;
} else if(form1.email.value != ""){
return true;
}
//this sits inside another function.