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_checkform(_CF_this) { if (!_CF_hasValue(_CF_this.dept, "SELECT" )) { if (!_CF_onError(_CF_this, _CF_this.dept, _CF_this.dept.value, "You must select a department.")) { return false; } } 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.email, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.email, _CF_this.email.value, "Please enter a valid email address!")) { return false; } } if (!testbox(_CF_this, _CF_this.email, _CF_this.email.value)) { if (!_CF_onError(_CF_this, _CF_this.email, _CF_this.email.value, "Please enter a valid email address!")) { return false; } } return true; } //-->
|
|
General Inquiry FormYou can use this form to contact a particular department with your questions or comments. |
| Home | Search | Privacy
Policy | Contact Last revised: Tuesday, January 15, 2008 © 1998 - 2008 Southwestern Oregon Community College 1988 Newmark Ave., Coos Bay, OR 97420 • (541) 888.2525 • 1.800.962.2838 • All rights reserved. Southwestern Oregon Community College is an equal opportunity educator and employer. |