# QES Field

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

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

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**.

### 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="/files/PVXicjVxEmYUCNzfdYgU" 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: 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/qes-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.
