> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/template-builder/template-dynamic-fields/qes-field.md).

# QES Field

This document explains how to add and configure the QES field in a template, including qualified/stamp options and TIN restriction.

Use **QES field** to collect a qualified electronic signature during envelope processing.

{% hint style="info" %}
You can place this field in:

* structured documents
* PDF documents
  {% endhint %}

### Add a QES field

{% columns %}
{% column %}

1. Open the template in edit mode.
2. In the **Fields** panel find the **QES field** and add it to the template.
3. Configure the field and click **Save**.
   {% endcolumn %}

{% column %}

<figure><img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2F9gYK4PhOxSdmZTB29QiL%2Fimage.png?alt=media&amp;token=ea3b901b-430a-4572-baef-c1106ed165c3" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Field settings

You can change these settings later. Click the field in the document to reopen properties.

{% columns %}
{% column width="58.333333333333336%" %}

* **Name** — field name shown in the document
* **Role name** — role that signs the field
* **Placeholder** — hint text shown before signing (if empty, **Name** is used)
* **Qualified** — enables qualified signing for this field
* **Signature and stamp are required** — requires both a signature and a stamp during signing
* **TIN** — restricts signing to the participant whose TIN matches the selected field
* **Document** — document where the selected TIN field is located
* **TIN field** — field used for TIN validation
* **Tooltip** — additional hint shown for the active field in the envelope
  {% endcolumn %}

{% column width="41.666666666666664%" %}

<figure><img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FuJImgdT6TnNcSf9Pta2V%2Fimage.png?alt=media&amp;token=1414abef-80ce-4ec8-a1ee-6a2c08f09d39" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
**TIN**, **Document**, and **TIN field** become relevant only when TIN-based restriction is enabled.
{% endhint %}

#### Advanced settings behavior

When all settings are configured, click **Save** to add the field.

You can click the placed field later to:

* view properties
* update properties
* delete the field

{% hint style="info" %}
**Show advanced settings** is available only while no additional attributes have been added to the field.

After you add at least one additional attribute, this option disappears, and all available attributes stay visible in edit mode.
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.docstudio.com/user/template-builder/template-dynamic-fields/qes-field.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.
