public function getClientScriptOptions() { $options = parent::getClientScriptOptions(); $options['ResponseFieldName'] = $this->getCaptchaControl()->getResponseFieldName(); return $options; }