


function validate() {

var theMessage = "Please complete the following: \n-----------------------------------\n";
var noErrors = theMessage

// Make sure a single checkbox is checked
var boxCheck = false;
if (document.agree.confirm.checked) {
boxCheck = true; }
if (!boxCheck) {
theMessage = theMessage + "\n --> You must agree to the terms\nto complete your application.";
}

// If no errors, submit the form
if (theMessage == noErrors) {
return true;

} else {

// If errors were found, show alert message
alert(theMessage);
return false;
}
}

