js event triggered by CAPTCHA completion

Created on 10 March 2025, 5 months ago

is there a javascript event that is triggered when a CAPTCHA has successfully been completed?

i want to use this event to automatically submit the form on CAPTCHA completion, but i can't find anything in the module code that looks like what i need.

any ideas?

(note: i am using Cloudflare Turnstile https://www.drupal.org/project/turnstile as my CAPTCHA, if the event would be originating from there instead, that's fine, i just thought there might be something in the CAPTCHA wrapper as well, and that would be better, in case i switch from Turnstile to some other captcha module plugin.)

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada earthangelconsulting

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @earthangelconsulting
  • 🇩🇪Germany Anybody Porta Westfalica

    I don't think so, furthermore this is specific to the various captcha types I think. Feel free to propose a MR, but I don't think this will make sense in all cases client-side. Better maybe implement per captcha type, where it makes sense?

Production build 0.71.5 2024