# Date Field

Use **Date field** to allow a participant to select or enter a specific date in a structured and validated format. .

You can place this field in:

* structured documents
* PDF documents

### Add a date field

<figure><img src="/files/5oA1GLy6gHTfmWK4UShm" alt=""><figcaption></figcaption></figure>

1. Open the template in edit mode.
2. Find the **Date field** in the **Fields panel** 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 width="58.333333333333336%" %}

* **Name** — field name shown in the document
* **Role name** — role that fills the field (for example, Sender)
* **Placeholder** — hint text shown before input (if empty, **Name** is used)
* **Tooltip** — additional hint shown on hover
* **Optional** — whether filling the field is required
* **Time** — allows selecting both date and time values
* **Search** — makes the field available for search/filtering in the mailbox UI (if enabled in your setup)
* **Fill with profile data** — auto-fills the field from the participant profile (if available)
* **Min** — minimum allowed date
* **Max** — maximum allowed date
  {% endcolumn %}

{% column width="41.666666666666664%" %}

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

{% hint style="info" %}
**Min** and **Max** restrict what users can select in the date picker.
{% 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/date-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.
