> 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).

# 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.

![](/files/a6f0af5ad5f72d0af935218459bbde686c56415a)

## 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="/files/4229bd4d899350a64c1afce021bc7b3c432a6e00" 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="/files/8cfa5ce0afc467621000fd2208cd3fe4ea4b494a" 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="/files/5e57b264d02f230ed0259f18521ecc65106de909" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
