var icpForm303653 = document.getElementById('icpsignup303653');
if (document.location.protocol === "https:")
icpForm303653.action = "https://app.icontact.com/icp/signup.php";
function verifyRequired303653() { if (icpForm303653["fields_email"].value == "") { icpForm303653["fields_email"].focus(); alert("The Email field is required."); return false; }
if (icpForm303653["fields_email"].value && icpForm303653["fields_email"].value !== "") { icpForm303653["fields_email"].value = icpForm303653["fields_email"].value.trim(); }
if (icpForm303653["fields_fname"].value == "") { icpForm303653["fields_fname"].focus(); alert("The First Name field is required."); return false; }
if (icpForm303653["fields_fname"].value && icpForm303653["fields_fname"].value !== "") { icpForm303653["fields_fname"].value = icpForm303653["fields_fname"].value.trim(); }
if (icpForm303653["fields_lname"].value == "") { icpForm303653["fields_lname"].focus(); alert("The Last Name field is required."); return false; }
if (icpForm303653["fields_lname"].value && icpForm303653["fields_lname"].value !== "") { icpForm303653["fields_lname"].value = icpForm303653["fields_lname"].value.trim(); }
if (icpForm303653["fields_phone"].value == "") { icpForm303653["fields_phone"].focus(); alert("The Phone field is required."); return false; }
if (icpForm303653["fields_phone"].value && icpForm303653["fields_phone"].value !== "") { icpForm303653["fields_phone"].value = icpForm303653["fields_phone"].value.trim(); }
if (icpForm303653["fields_business"].value == "") { icpForm303653["fields_business"].focus(); alert("The Business field is required."); return false; }
if (icpForm303653["fields_business"].value && icpForm303653["fields_business"].value !== "") { icpForm303653["fields_business"].value = icpForm303653["fields_business"].value.trim(); }
return true; }
function validDate303653(value) {
if (value == "") { return true; }
var dateSections = value.split('/'); if (dateSections.length != 3) { return false; }
var month = dateSections[0]; if (month && (month.length > 2 || month < 1 || month > 12)) { return false; }
var day = dateSections[1]; if (day && (day.length > 2 || day < 1 || day > 31)) { return false; }
var year = dateSections[2]; if (!year || (year && year.length != 4)) { return false; }
var dateValue = new Date(value); if (month != (dateValue.getMonth()+1) || day != dateValue.getDate() || year != dateValue.getFullYear()) { return false; }
return true; }
Follow us on Twitter or LinkedIn