> 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/date-field.md).

# Date Field

This document explains how to add and configure the Date field in a template, including time selection and min/max constraints.

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

{% columns %}
{% column %}

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**.
   {% endcolumn %}

{% column %}

<figure><img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FL8GxTOwCE0vEuxGwc4mx%2Fimage.png?alt=media&amp;token=766fbe88-5de2-4431-aad0-8bd716605ccc" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### 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="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FG4qMpOWJmiPEwIOYiyl3%2Fimage.png?alt=media&amp;token=1160b923-c886-49b1-9604-f09a9ef6fe00" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
**Min** and **Max** restrict what users can select in the date picker.
{% endhint %}
