> For the complete documentation index, see [llms.txt](https://docs.documentero.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.documentero.com/documentation/templates/fields.md).

# Fields

<figure><img src="https://tawk.link/61dd64c2b84f7301d32a6e5b/kb/attachments/uvLlvwSIXX.png" alt=""><figcaption></figcaption></figure>

If the same field is repeated in other parts of the template we will detect that and fill the document accordingly (with the value provided only once).

Fields could be used inside Sections

### Recommended Field Name Rules

Omit special characters and spaces in field name. It will be easier to refer them in Smart Fields

> *We recommend camelCase rules for field naming e.g. **fieldWithMultipleWords**. If you want to use fields in Smart Sections & Smart Fields please also omit numbers and special characters in field names*

Use Special Filters to modify results

```
{field | toFixed:2} > Sets number decimal precision 5300.1 > 5300.10
{$ labor + parts | format:2:',':'.'} > Sets number decimal precision, thousand separator, decimal separator e.g.  5300.1 > 5,300.00
{$ labor + parts | inWords:'en'} > Spells Number in words based on selected language
```

### Multiline text

If you want to pass text in multiple lines (e.g. from API call or integration) you can use new line mark "\n" when passing text to your field.

```
"field": "first line \n second line" => In output document second line will go to next line
```

If you need more advanced formatting consider using [Fields with HTML Support](/documentation/templates/fields-html-support.md)


---

# 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.documentero.com/documentation/templates/fields.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.
