I'm looking to incorporate ReCaptcha into my website in order to display additional data. My goal is to have the form automatically submitted once the ReCaptcha has been completed, eliminating the need for an extra submit button. However, I've encountered a challenge due to ReCaptcha loading its content within an iframe.
Currently, my form looks like this:
<form action="javascript:getInfo(grecaptcha.getResponse(widget1));" >
<div id="captcha"></div>
<br>
<input type="submit" value="Submit">
</form>
Is there a way to set up an Event Listener on the ReCaptcha submit that would then trigger the submission of the outer form?