> For the complete documentation index, see [llms.txt](https://docs.eximee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/7-komponenty-specjalne/captcha.md). Agents can also search and read this documentation through its [MCP server](https://docs.eximee.com/~gitbook/mcp).

# Captcha

{% hint style="info" %}
Availability of functionality depends on the license and may not be available in all deployments.
{% endhint %}

The captcha component is a Google widget whose purpose is to allow only submissions completed by a human.

![](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/5XIDttualUtt5dKz32NV/Captcha_files/image2025-5-15_15-54-3.png)

## Component properties

The component can be placed on the form multiple times, and its display can depend on a condition being met.

<figure><img src="https://2112972046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2F9nKGbLFkTskXoe6eQzma%2Fimage2016-9-19%2012_59_8.png?alt=media&amp;token=1b0c8952-daeb-4ffc-9729-16dfb36315b4" alt=""><figcaption><p align="center"><em><strong>Figure 1.</strong> Captcha component displayed on the form</em></p></figcaption></figure>

Entering the value of the captcha placed on the form is always required - verification will be positive when the "I'm not a robot" checkbox is selected and, optionally, other actions are performed (imposed by Google).

<figure><img src="https://2112972046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2FLTDUFAwufh7eY7wWFl87%2Fimage.png?alt=media&amp;token=beeb7c67-5af7-413c-b451-809fd4cb7b7a" alt=""><figcaption><p align="center"><em><strong>Figure 2.</strong></em> <em>In the example, the "I'm not a robot" checkbox was not selected, which caused a validation error message to be displayed.</em></p></figcaption></figure>

The component is validated after the image is correctly selected. The component stores 3 types of states: too long a waiting time after verification - "expired", positive verification - "ok" or negative - "noOk". Interactions on the form may depend on the component state.

<figure><img src="https://2112972046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2FLYMahKz4nt1TRqHIVXy4%2Fimage2016-9-20%208_0_3.png?alt=media&amp;token=3b422898-5422-401d-8d96-6f24fea2c371" alt=""><figcaption><p align="center"><em><strong>Figure 3.</strong></em> <em>Message after successful verification</em></p></figcaption></figure>

## Registration

To be able to use the component on the form, you need to register the domain and a key pair with Google. More about this on the page [Google](https://developers.google.com/recaptcha).

{% hint style="info" %}
Demo request: demo2\_recaptcha
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/7-komponenty-specjalne/captcha.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
