Captcha.euLiteProNew in 5.19.1+
Freeform loads Captcha.eu on the final page of a form and checks the visitor’s solution on your server before accepting the submission.
Set up the integration
Register the form domain
Add the domain that serves your form in the Captcha.eu dashboard.
Configure Captcha.eu in Freeform
Go to Freeform → Settings → Integrations → CAPTCHAs → Captcha.eu in the Craft control panel. Enter that domain’s Public Key and REST Key in Freeform.
Keep the default Endpoint unless Captcha.eu supplies a custom HTTPS endpoint.
Choose whether the integration should be Enabled by default, then click Save.
Enable Captcha.eu on the form
Open your form in the builder and select Integrations → CAPTCHAs → Captcha.eu. Enable the integration, review its settings, and save the form.
Test the form
Submit a test entry from the configured domain.
Find and store your keys
Open Domains in the Captcha.eu dashboard and select the domain that serves your form. Copy its public key into Public Key and its REST key into REST Key.
The public key is used in the browser. Keep the REST key on the server. You can reference it with an environment variable such as $CAPTCHA_EU_REST_KEY.
Choose failure settings
- Display Error Message lets the visitor retry. Enter a custom message in Error Message.
- Send to Spam Folder marks the submission as spam when Captcha.eu rejects a solution.
Missing solutions and unavailable verification show an error so visitors can retry.
To retain flagged entries for review, enable the Spam Folder.
Use a custom headless frontend
Load the Captcha.eu SDK with the public key and endpoint from the form’s CAPTCHA metadata. Serialize the solution as JSON and submit it using the CAPTCHA name from that metadata.
For response formats and metadata fields, see the REST API guide or the GraphQL guide.