We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi team,
I used above block code, it's seem EWZRecaptchaType::RECAPTCHA_API_JS_SERVER doesn't exist.
EWZRecaptchaType::RECAPTCHA_API_JS_SERVER
<div id="recaptcha-container"></div> <script type="text/javascript"> $(document).ready(function() { $.getScript("{{ constant('\\EWZ\\Bundle\\RecaptchaBundle\\Form\\Type\\EWZRecaptchaType::RECAPTCHA_API_JS_SERVER') }}", function() { Recaptcha.create("{{ form.recaptcha.get('public_key') }}", "recaptcha-container", { theme: "clean" }); }); }); </script>
The text was updated successfully, but these errors were encountered:
hello is there any solution for this yet? I also got
Undefined constant EWZ\Bundle\RecaptchaBundle\Form\Type\EWZRecaptchaType::RECAPTCHA_API_JS_SERVER
Please update constant in your code, currently my temp solution is:
$.getScript("https://www.google.com/recaptcha/api.js", function() { Recaptcha.create("mykey, "recaptcha-container", { theme: "clean" }); });
Sorry, something went wrong.
No branches or pull requests
Hi team,
I used above block code, it's seem
EWZRecaptchaType::RECAPTCHA_API_JS_SERVER
doesn't exist.The text was updated successfully, but these errors were encountered: