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_checkform1(_CF_this) { if (!_CF_hasValue(_CF_this.logo_url, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.logo_url, _CF_this.logo_url.value, "Please enter the url of the page where you've displayed the logo")) { return false; } } if (!_CF_hasValue(_CF_this.name_first, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.name_first, _CF_this.name_first.value, "Please enter your first name")) { return false; } } if (!_CF_hasValue(_CF_this.name_last, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.name_last, _CF_this.name_last.value, "Please enter your last name")) { return false; } } if (!_CF_hasValue(_CF_this.firm_name, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.firm_name, _CF_this.firm_name.value, "Please enter the name of your law firm or legal organization")) { return false; } } if (!_CF_hasValue(_CF_this.firm_url, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.firm_url, _CF_this.firm_url.value, "Please enter the url of your firm's home page")) { return false; } } if (!_CF_hasValue(_CF_this.city, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.city, _CF_this.city.value, "Please enter your city")) { return false; } } if (!_CF_hasValue(_CF_this.state, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.state, _CF_this.state.value, "Please enter your state")) { 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 address")) { return false; } } return true; } //-->
|
|
[http://tlpj.org/top_720.htm]
|