Hi,
Not sure how to implement the following behavior: I don't want the captcha dialog to open up in page load, but when the user submits the form. The twig widget loads the recaptcha js and automatically calls the recaptchaCallback_form_captcha, thus opening up the captcha dialog.
Hi, Not sure how to implement the following behavior: I don't want the captcha dialog to open up in page load, but when the user submits the form. The twig widget loads the recaptcha js and automatically calls the
recaptchaCallback_form_captcha
, thus opening up the captcha dialog.<script src="https://www.google.com/recaptcha/api.js?render=<YOUR-RECAPTCHA-KEY>&onload=recaptchaCallback_form_captcha" async defer></script>
I don't know how to interpret your example , under
or on form post
. The captcha is already triggered on page load.Thanks!