setValidation(new AccuaForm_Validation_Captcha2($this->privateKey, __("The reCATPCHA response provided was incorrect. Please re-try.", 'accua-form-api'))); } public function render() { $lang = $this->form->getLanguage(); $field_id = $this->attributes["id"]; $publicKey = htmlspecialchars($this->publicKey, ENT_QUOTES); $jspath = ACCUA_FORMS_DIR_URL . 'accua-recaptcha2.js'; echo <<
EOT; } }