Invisible reCAPTCHA not triggering submit form #25
-
Hello, Previously I had the code: < recaptcha / > Then I switched to: < button name="SubmitData" re-invisible form-id="Step3" class="submit-button" >< / button > After the change, my submit acction is not triggerd anymore and for that reason my action is never executed inside the controller. Can you please help me finding what I am missing or doing wrong here? Regards ARF |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, Assuming that is the case and if placing the button inside the form isn’t an option, you’ll need to write a custom callback function. This function should place the token returned by reCAPTCHA into the form and provide its name via the callback property of the tag. Unfortunately, the default callback generated doesn’t do this—at least not yet. I might take a closer look at it in the coming days. |
Beta Was this translation helpful? Give feedback.
Hello,
Is the button inside your form element? If not, that’s most likely the issue.
Assuming that is the case and if placing the button inside the form isn’t an option, you’ll need to write a custom callback function. This function should place the token returned by reCAPTCHA into the form and provide its name via the callback property of the tag.
Unfortunately, the default callback generated doesn’t do this—at least not yet. I might take a closer look at it in the coming days.