> 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/budowanie-aplikacji/logika-biznesowa/scriptcode/formatery/tworzenie-i-podpiecie-formatera.md).

# Tworzenie i podpięcie formatera

## Dodawanie nowego formatera <a href="#tworzenieformatera-dodawanienowegoformatera" id="tworzenieformatera-dodawanienowegoformatera"></a>

Aby utworzyć nowy lub edytować istniejący formater należy przejść do modułu **Biblioteka** i wybrać zakładkę **Formatery.** Zostanie zaprezentowana lista formaterów. Z tego widoku można utworzyć nowy formater, przejrzeć historię zapisów lub edytować istniejący artefakt.

<figure><img src="/files/oTBfTKQHjunhOGQidK2X" alt=""><figcaption><p><em><strong>Ilustracja 1.</strong> Okno z listą formaterów i menu kontekstowym jednego z artefaktów</em></p></figcaption></figure>

## Podgląd / Edycja <a href="#formatery-podglad-edycja" id="formatery-podglad-edycja"></a>

Po przejściu na konkretny formater zostanie wyświetlona w edytorze jego treść. Z tego poziomu można rozpocząć edycję artefaktu i zapisać jego nową wersję.

<figure><img src="/files/pwaGGOdWPfLOvon3Tqe3" alt=""><figcaption></figcaption></figure>

## Ustawienie formatowania dla komponentu <a href="#title-text" id="title-text"></a>

### Komponenty obsługujące formatowanie <a href="#ustawienieformatowaniadlakomponentu-komponentyobslugujaceformatowanie" id="ustawienieformatowaniadlakomponentu-komponentyobslugujaceformatowanie"></a>

Formatowanie dostępne jest dla następujących komponentów:

* **Pole tekstowe** (Text Field),
* **Obszar tekstu** (Text Area),
* **Data** (Date picker).

### Ustawienie formatera dla komponentu <a href="#ustawienieformatowaniadlakomponentu-ustawienieformateradlakomponentu" id="ustawienieformatowaniadlakomponentu-ustawienieformateradlakomponentu"></a>

Formater można ustawić w widoku własności komponentu (należy przedtem zaznaczyć komponent).

Dla komponentu dostępne są 2 własności odpowiedzialne za działanie formatera (dostępne w sekcji **Interakcje**):

|                                        |                                                                                                                                                                            |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **FORMATER**                           | W tym polu należy wybrać odpowiedni formater.                                                                                                                              |
| **Formatowanie w czasie rzeczywistym** | Określa czy formatowanie następuje po wpisaniu kolejnego znaku (włączona właściwość), czy po opuszczeniu pola (wyłączona właściwość). Właściwość domyślnie jest wyłączona. |

<figure><img src="/files/nOpvwdb8rHUylG9zUVW6" alt=""><figcaption><p><em><strong>Ilustracja 3.</strong> Przykład podpiętego formatera "duzeMaleLitery"</em></p></figcaption></figure>


---

# 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/budowanie-aplikacji/logika-biznesowa/scriptcode/formatery/tworzenie-i-podpiecie-formatera.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.
