public function createComponentReCaptcha() { $form = new NAppForm(); $form->addCaptcha('captcha', 'aa'); $form->addText('text', 'Nejaky textik'); $form->addSubmit('ok', 'odeslat'); $form->onSubmit[] = [$this, 'captchaProcess']; return $form; }
public function createComponentReCaptcha() { $form = new NAppForm(); $form->addCaptcha('captcha', 'aa'); $form->addText('text', 'Nejaky textik'); $form->addSubmit('ok', 'odeslat'); $form->onSubmit[] = [$this, 'captchaProcess']; return $form; }