Skip to main content

Question CAPTCHALiteProNew in 5.19.1+

Freeform shows one security question on the final page of a form and checks the answer on your Craft server. Setup only requires a prompt and its accepted answers.

Set up the integration

1

Write the questions and answers

Go to Freeform → Settings → Integrations → CAPTCHAs → Question and add at least one prompt under Security Questions. You can click Sample questions to start with five editable examples.

Enter the accepted answers for each prompt, separated by commas.

2

Save the integration defaults

Choose whether the integration should be Enabled by default, then click Save.

3

Enable Question on the form

Open your form in the builder and select Integrations → CAPTCHAs → Question. Enable the integration and save the form. You can replace the default list on individual forms.

4

Test both outcomes

Test a correct answer and an incorrect answer to check the form and your failure settings.

Write questions and accepted answers

Choose short questions with clear answers. Add alternate spellings or a written number when both are valid. Freeform ignores capitalization and spaces at either end of an answer.

Sample questions appends missing prompts. When a matching question already accepts the sample’s numeric answer, Freeform adds any missing word forms to that row and keeps the existing answers. The original sample prompts are translated for English, German, French, Italian, and Dutch visitors. Each sample accepts digits and the written number in all five languages.

Choose failure settings

  • Display Error Message lets the visitor try again. Enter a custom message in Error Message.
  • Send to Spam Folder marks submissions with incorrect or missing answers as spam.

To retain flagged entries for review, enable the Spam Folder.

Use a custom headless frontend

Display the prompt in the form’s CAPTCHA metadata. Submit a JSON string containing the visitor’s answer and the metadata’s challenge token, using the CAPTCHA name from the same metadata.

For response formats and metadata fields, see the REST API guide or the GraphQL guide.