function CheckMultiple4(frm, name) { for (var i=0; i < frm.length; i++) { fldObj = frm.elements[i]; fldId = fldObj.id; if (fldId) { var fieldnamecheck=fldObj.id.indexOf(name); if (fieldnamecheck != -1) { if (fldObj.checked) { return true; } } } } return false; } function CheckForm4(f) { if (f.email.value == "") { alert("Please enter your email address."); f.email.focus(); return false; }
if (f.format.selectedIndex == -1) {
alert("Please choose a format to receive your email campaigns in"); f.format.focus(); return false; }
if (f.captcha.value == "") { alert("Please enter the security code shown"); f.captcha.focus(); return false; }
return true; };