Sign Up To Straight From The Photobat Newsletter
function CheckMultiple7(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 CheckForm7(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;
}
var fname = "CustomFields_7_7";
var fld = document.getElementById(fname);
if (fld.value == "") {
alert("Please enter a value for field First Name");
fld.focus();
return false;
}
var fname = "CustomFields_8_7";
var fld = document.getElementById(fname);
if (fld.value == "") {
alert("Please enter a value for field Last Name");
fld.focus();
return false;
}
return true;
};