Answer the question
In order to leave comments, you need to log in
Zend Framework 1. How to insert google recaptcha 2 via Zend_Form?
Hello. There was a problem with inserting recaptcha, unfortunately there is no new recaptcha in the standard methods, only the old one.
I tried this manual https://packagist.org/packages/cgsmith/zf1-recaptcha-2
But the controller starts to swear
$this->view->headScript()->appendFile('//www.google.com/recaptcha/api.js');
$this->view->addHelperPath(APPLICATION_PATH . '/../vendor/cgsmith/zf1-recaptcha-2/src/Cgsmith/View/Helper', 'Cgsmith\\View\\Helper\\');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question