# Autonumber Field

Use **Autonumber field** to insert an automatically generated counter value.

The counter increments for envelopes created from the same template.

You can place this field in:

* structured documents
* PDF documents

### Add an autonumber field

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

1. Open the template in edit mode.
2. In the **Fields** panel find the **Autonumber field** and add it to the template.
3. Configure the field and click **Save**.

### Field settings

Click on the placed field to reopen settings menu.

{% columns %}
{% column %}

* **Name** — field name shown in the document
* **Tooltip** — additional hint shown on hover
* **Prefix** — text added before the number
* **Search** — makes the field available for search/filtering in the mailbox UI (if enabled in your setup)
  {% endcolumn %}

{% column %}

<figure><img src="/files/txlnQcD7ldm92nldmvpa" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions: 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:

```
GET https://support.docstudio.com/user/template-builder/template-dynamic-fields/autonumber-field.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
