Captcha modules

hCaptcha

hCaptcha is a managed captcha provider module for hCaptcha challenges inside Formie forms.

Notes

  • This provider loads its own external challenge script as part of setup.

Events

hCaptcha relies on the shared module lifecycle and the broader submit flow documented on JavaScript events.

The formie:module:hcaptcha:after-setup event

Triggered after the hCaptcha module has finished setup for its target form.

js
document.addEventListener('formie:module:hcaptcha:after-setup', (event) => {
  // Useful when you need to confirm the provider has mounted.
  console.log('hCaptcha ready:', event.detail.target);
});
Last updated: May 6, 2026, 3:46 PM