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_checkContact(_CF_this) { if (!_CF_hasValue(_CF_this.namefirst, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.namefirst, _CF_this.namefirst.value, "Please enter your FIRST NAME.")) { return false; } } if (!_CF_hasValue(_CF_this.namelast, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.namelast, _CF_this.namelast.value, "Please enter your LAST NAME.")) { return false; } } if (!_CF_hasValue(_CF_this.email, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.email, _CF_this.email.value, "Please enter your EMAIL.")) { return false; } } if (!_CF_hasValue(_CF_this.phone, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.phone, _CF_this.phone.value, "Please enter your TELEPHONE.")) { return false; } } return processForm() return true; } //-->
![]() |
|||||
![]() |
|
|
||||||||||