> 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/praca-z-komponentami-bazowymi/walidacja-wartosci-komponentow/maska-danych-sensytywnych.md).

# Sensitive data mask

Masking sensitive data is used to hide sensitive parts of information in a text field or label by replacing selected characters with the symbol `*`. This makes it possible to protect data such as the PESEL number or credit card number so that it is not fully visible on the screen. The property **Sensitive data mask** can be found in the component properties panel, in the section **Security**. After enabling masking, the specified characters of the field value will be displayed as asterisks.

<figure><img src="/files/efa9b730fe58cb6541866e9b4ce954b42041dcbe" alt=""><figcaption><p align="center"><em><strong>Figure 1.</strong> Sensitive data mask in a Text Field</em></p></figcaption></figure>

It should be remembered that masking sensitive data **works only for fields populated with data from another source** (e.g. a value retrieved from another field or service). If the user **enters** data into the field themselves, the mask will not be applied – the entered characters will remain fully visible. For example, if a text field *A* is automatically filled with a value copied from another field *B* (data source from another field), then on field *A* we can apply a mask to hide part of the information. However, if the user enters data in *A* manually, masking will not work.

Masking can also be applied to components of type **Label (Text)** displaying application data. In the case of a label, in addition to simply enabling masking, an additional option is available **Sensitive data masking condition** – it allows you to define a condition (logical), when met, the given label will mask its value. This makes it possible, for example, to mask the PESEL number only for certain types of users or in specific process states.

<figure><img src="/files/407ec81fb2db13524b0905b84495e4e954080f3c" alt=""><figcaption><p align="center"><em><strong>Figure 2.</strong> Sensitive data masking condition in the Label</em></p></figcaption></figure>

{% hint style="info" %}
Note: Do not combine Sensitive Data Mask at the same time with other formatters on the same field. In the case of text fields, it is recommended not to apply sensitive masking simultaneously with a formatter (e.g. phone number formatting) to avoid conflicts and unexpected formatting behavior.
{% endhint %}

{% hint style="info" %}
Demo application: demoTextComponents
{% 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/praca-z-komponentami-bazowymi/walidacja-wartosci-komponentow/maska-danych-sensytywnych.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.
