setValidation(new Validation_Captcha($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"]; $jspath = ACCUA_FORMS_DIR_URL . 'accua-recaptcha.js'; $button_text = htmlspecialchars(__('Show Captcha', 'accua-form-api'), ENT_QUOTES); echo <<
EOT; } }