return false; } else if (obj_type == "SINGLE_VALUE_RADIO" || obj_type == "SINGLE_VALUE_CHECKBOX") { if (obj.checked) return true; else return false; } else if (obj_type == "RADIO" || obj_type == "CHECKBOX") { for (i=0; i < obj.length; i++) { if (obj[i].checked) return true; } return false; } } function _CF_checkCFForm_1(_CF_this) { if (!_CF_hasValue(_CF_this.firstName, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.firstName, _CF_this.firstName.value, "You must provide your first name.")) { return false; } } if (!_CF_hasValue(_CF_this.lastName, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.lastName, _CF_this.lastName.value, "You must provide your last name.")) { return false; } } if (!_CF_hasValue(_CF_this.address, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.address, _CF_this.address.value, "You must provide your mailing address.")) { return false; } } if (!_CF_hasValue(_CF_this.city, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.city, _CF_this.city.value, "You must provide your city.")) { return false; } } if (!_CF_hasValue(_CF_this.state, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.state, _CF_this.state.value, "You must provide your state.")) { return false; } } if (!_CF_hasValue(_CF_this.zip, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.zip, _CF_this.zip.value, "You must provide a zipcode.")) { return false; } } if (!_CF_hasValue(_CF_this.phone, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.phone, _CF_this.phone.value, "You must provide a phone number.")) { return false; } } if (!_CF_hasValue(_CF_this.email, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.email, _CF_this.email.value, "You must provide your email address or enter 'none' if you do not have one.")) { return false; } } if (!_CF_hasValue(_CF_this.gradDate, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.gradDate, _CF_this.gradDate.value, "You must provide the month and year you graduated or will graduate.")) { return false; } } if (!_CF_hasValue(_CF_this.hs, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.hs, _CF_this.hs.value, "You must provide the name of your High School.")) { return false; } } if (!_CF_hasValue(_CF_this.division, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.division, _CF_this.division.value, "You must provide your division.")) { return false; } } if (!_CF_hasValue(_CF_this.weight, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.weight, _CF_this.weight.value, "You must provide your weight class.")) { return false; } } return true; } //-->