Forminal

Set up hCaptcha

By the end of this guide a form will check visitors with hCaptcha before it accepts their answers. Visitors tick a checkbox, and hCaptcha shows an image challenge when one looks suspicious. hCaptcha does not work on a custom subdomain such as forms.example.com. For forms served from one, use reCAPTCHA or Cloudflare Turnstile.

Get your keys

  1. Open Sites in the hCaptcha dashboard, sign in and select Add Site.
The hCaptcha dashboard with an Add Site button
Adding a site in hCaptcha
  1. In the new site’s settings, find Domains, type app.forminal.ai and select + to add it. Then save the site’s settings.
The Domains section of an hCaptcha site with a box for a domain, a + button and the list of added domains
Adding the host your forms run on under Domains
  1. Back on the Sites list, copy the sitekey shown under the name of your site.
The hCaptcha Sites list with a sitekey and a copy button under the site name
The sitekey is under the site name
  1. hCaptcha keeps one secret for the whole account instead of one per site. Open Settings » Secrets and select Generate New Secret. If you already saved your account secret somewhere, you can use that one instead.
The hCaptcha Settings page on the Secrets tab, with the Account-level Secret and a Generate New Secret button
The account secret lives in Settings
  1. Select Copy Secret. hCaptcha shows the secret only once, so keep it until you have saved it in the next step.
The hCaptcha Secret Generated message with a Copy Secret button
Copying the new secret

Save the keys

  1. Open Account menu » Integrations.
  2. Under CAPTCHA, select Set Up next to hCaptcha.
  3. Paste the site key into Site key and the secret key into Secret key.
  4. Select Save.
The hCaptcha keys dialog with the setup steps, the Site key and Secret key boxes filled in, and a Save buttonThe hCaptcha keys dialog with the setup steps, the Site key and Secret key boxes filled in, and a Save button
The keys dialog names the host your forms run on at the top

The row now shows the last four characters of your sitekey and “not on any form yet”. Keys belong to your account, so you save them once and use them on as many forms as you like. To change them later, select Edit. Leave Secret key empty to keep the saved one.

The CAPTCHA list in Integrations, with hCaptcha showing the end of its site key and an Edit buttonThe CAPTCHA list in Integrations, with hCaptcha showing the end of its site key and an Edit button
Saved keys show on their row

Turn it on for a form

  1. Open the form in the builder and select Integrations in the top bar.
  2. Under CAPTCHA, select Use next to hCaptcha.

The row now reads “On for this form”, and its button changes to Turn Off. The change applies at once, also on a form that is already published. A form runs one CAPTCHA at a time, so selecting Use on another row switches the form to that one.

The CAPTCHA list on the Integrations tab of a form, with hCaptcha reading On for this form next to a Turn Off buttonThe CAPTCHA list on the Integrations tab of a form, with hCaptcha reading On for this form next to a Turn Off button
hCaptcha turned on for a form

Check it works

  1. Open the form’s link in a private window, so you see it the way a visitor does.
  2. The hCaptcha checkbox, “I am human”, sits above the submit button. Tick it and solve the images if hCaptcha asks.
  3. Fill in the form and submit it. The submission appears on the form’s Submissions page.
A published contact form with the hCaptcha I am human checkbox above the Submit button
hCaptcha on a published form

Troubleshooting

The widget shows an error instead of the checkbox

hCaptcha checks the domain itself, in the widget, so a missing domain or a sitekey copied wrong shows up as an error there. Open the site in hCaptcha and check that Domains has app.forminal.ai, then copy the sitekey again from the Sites list.

Keys from Google or Cloudflare

Each provider’s keys work only on its own row. With a reCAPTCHA or Turnstile key saved under hCaptcha, the hCaptcha widget shows an error, and the visitor sees “Complete the CAPTCHA to send your submission.” when they submit. Save the key under the row for its provider.

Forms on a custom domain

On a custom subdomain such as forms.example.com, hCaptcha checks are turned down and the visitor sees “Complete the CAPTCHA and try again.” Use reCAPTCHA or Cloudflare Turnstile on forms you serve from a custom subdomain.

“Complete the CAPTCHA to send your submission.”

The form shows this when the visitor submits without a finished check, so it had nothing to send to hCaptcha. If the widget shows an error of its own above the button, the key is the cause: see the sections above. Otherwise the visitor hasn’t finished the check yet, and can finish it and submit again.

“Complete the CAPTCHA and try again.”

The form shows this when hCaptcha answered the check but Forminal turned it down. It happens when the check was solved on another site, such as a page that copied your sitekey, or on a custom subdomain, as described above. Nothing is saved, and the visitor can try again.

“The CAPTCHA could not load. Turn off any blocker for this page and reload it.”

The visitor’s browser didn’t load hCaptcha’s script, most often because an ad or privacy blocker stopped it. The form can’t be sent until the script loads.

“Could not check the CAPTCHA. Try again in a moment.”

hCaptcha couldn’t be reached to check the answer. Nothing is saved, and trying again a moment later usually works.

The row says “Keys removed, so this form has no CAPTCHA”

The keys were removed from your account, so the form takes submissions without a CAPTCHA. Save keys for that provider again and the form uses them straight away.

Frequently asked questions

Why do I add Forminal’s host in hCaptcha instead of my own website?

Your forms run on Forminal’s host even when they are embedded on your site, so that is the domain hCaptcha checks. The keys dialog names it at the top.

Does hCaptcha need a paid Forminal plan?

No. Spam protection works on every plan, Lite included. You only need your own keys from hCaptcha.

Can a teammate in my workspace turn hCaptcha on?

No. Choosing a form’s CAPTCHA stays with the owner of the form.

Are submissions that fail the check saved?

No. A submission without a passing check isn’t saved, and the visitor can try again. One that passes but fills in the hidden honeypot field goes to the Spam tab.

How do I switch from hCaptcha to Turnstile?

Save your Turnstile keys under Account menu » Integrations, then select Use next to Cloudflare Turnstile on the form’s Integrations tab. A form runs one CAPTCHA at a time, so this replaces hCaptcha at once. See Set up Cloudflare Turnstile.

Related feature: Spam Protection