> 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/oswiadczenia-statements.md). Agents can also search and read this documentation through its [MCP server](https://docs.eximee.com/~gitbook/mcp).

# Statements - Statements

Component displaying statements

![](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/hMtmSJGbzuVt0wALDqwN/6s_files/image2025-5-16_13-27-44.png)

## Component properties

<table><thead><tr><th>Eximee Designer property</th><th width="180.8834228515625">Attribute name in the Source</th><th>Description</th></tr></thead><tbody><tr><td><strong>Statement list</strong><br>(section <strong>Basic properties</strong>)</td><td>items</td><td>List of defined statements to display. The button <strong>Add statement</strong> <img src="https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/sGW5KpHOmef4nULNqBl2/6s_files/image2022-12-19_12-6-56.png" alt=""> opens the drawer <strong>Statement list</strong> used to define "items". Statements are created in <a href="https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/7-komponenty-specjalne/oswiadczenia-statements/edytor-oswiadczen.md">Statement editor</a>.</td></tr><tr><td><strong>masterCheckbox list</strong><br>(section <strong>Basic properties</strong>)<br></td><td>masterCheckboxes</td><td><p>List of defined master checkboxes.</p><p>The availability of this functionality depends on the license and may not be available in all deployments.</p><p>The functionality is described in more detail in <a href="https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/7-komponenty-specjalne/oswiadczenia-statements/wiele-master-checkboxow-w-komponencie-oswiadczen.md">Multiple master checkboxes in the statements component</a> and <a href="https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/7-komponenty-specjalne/oswiadczenia-statements/widocznosc-pojedynczego-mastercheckboxa.md">Visibility of a single master checkbox</a>.</p></td></tr><tr><td><strong>Value of the checked statement</strong><br>(section <strong>Basic properties</strong>)</td><td>valueYes</td><td>The value the statement takes when it is checked - by default, if no other return value is set, the value "true" is returned.</td></tr><tr><td><strong>Value of the unchecked statement</strong><br>(section <strong>Basic properties</strong>)</td><td>valueNo</td><td>The value the statement takes when it is unchecked - by default, if no other return value is set, the value "false" is returned.</td></tr><tr><td><strong>Condition for collapsing/expanding the component</strong><br>(section <strong>Other</strong>)</td><td>expandableCondition</td><td><p>A condition for which, under or next to the main checkbox (depending on the implementation), text for collapsing/expanding the entire statements component should be displayed. When set to "false", the component is expanded and cannot be collapsed (the collapse text is not displayed). If the condition is empty or invalid, the value "false" will be evaluated. <strong>If the property is unconditionally set to "false", there is no point in setting the field "Condition for the default expanded component", because the entire content will always be displayed</strong>.</p><p><em>For conditions that use other components, appropriate <strong>listening</strong>must be defined on the component.</em></p></td></tr><tr><td><strong>Condition for the default expanded component</strong><br>(section <strong>Other</strong>)</td><td>expandedCondition</td><td><p>When the field <strong>Condition for collapsing/expanding the component</strong> is set to "true", the property determines whether the component is expanded or collapsed by default. The statements component is expanded by default for a value of "true". If the condition is empty or invalid, the value "true" will be evaluated.</p><p><em>For conditions that use other components, appropriate listening must be defined on the component.</em></p></td></tr></tbody></table>

> More information about component properties: [Common component properties](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/praca-z-komponentami-bazowymi/wspolne-wlasciwosci-komponentow.md)

## **Statement title**

The statement title comes from the key defined in the **Translations**. The statement content comes from the artifact **Formatted content** (details -> [Creating and attaching the Content artifact](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/tworzenie-i-podpiecie-artefaktu-tresc.md)). One or more controls can be assigned to the content of each statement. The entire component as well as the content of a single statement can be expandable (depending on flags). Statements can have one master checkbox (the main checkbox of the component controlling the statement checkboxes) or several master checkboxes (description → [Multiple master checkboxes in the statements component](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/7-komponenty-specjalne/oswiadczenia-statements/wiele-master-checkboxow-w-komponencie-oswiadczen.md)).

<figure><img src="https://2112972046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2FurYuCue3hZvNJiHqccO7%2Fimage2025-5-26_8-15-36.png?alt=media&amp;token=6672f769-d762-4c68-a437-c9252d6ceb43" alt="" width="563"><figcaption><p align="center"><em><strong>Figure 1.</strong> Example appearance of the component in the application</em></p></figcaption></figure>

{% hint style="info" %}
Demo application: demoStatements
{% endhint %}

{% hint style="info" %}
♿WCAG: [WCAG best practices for low-code dev](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/proces-biznesowy/tworzenie-procesu-biznesowego-w-bpmn-2.0/dobre-praktyki.md)
{% endhint %}

## Data model

The response to each statement control is stored separately in the data model. In the field **Data model key** you should indicate the model node and under it create fields named according to the business identifiers of the controls (`mid`) assigned in the [Statement editor](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/7-komponenty-specjalne/oswiadczenia-statements/edytor-oswiadczen.md). The fields are optional – more information in [Data model on the interface](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/praca-z-komponentami-bazowymi/model-danych-na-interfejsie.md#komponenty-o-wartosci-zlozonej).

* The selected control has the value `true`, and an unselected one `false`. The properties **Value of the checked statement** and **Value of the unchecked statement** do not change the values stored in the model.
* When the form opens, responses are read from the data model: the controls whose fields have the value `true`.

Example: the component has three controls with identifiers `termsAcceptance`, `marketingConsent` and `profilingConsent`. In the component, set **Data model key** `applicant.consents`, and fields were created in the model only for the first two controls:

```
applicant
└── consents
    ├── termsAcceptance
    └── marketingConsent
```

The user accepts the terms and does not give marketing consent. After saving the application, the model contains:

```
applicant.consents.termsAcceptance = true
applicant.consents.marketingConsent = false
```

The response to the control `profilingConsent` remains on the form, but does not get into the data model.


---

# 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/oswiadczenia-statements.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.
