setValidation(new Validation_Captcha($this->privateKey, __("The reCATPCHA response provided was incorrect. Please re-try.", 'accua-form-api'))); } public function render() { require_once(dirname(__FILE__) . "/../../PFBC/Resources/recaptchalib.php"); echo recaptcha_get_html($this->publicKey); } }