# File upload Field

Use **File field** to let a participant upload a file during envelope processing.

Participants can upload and download the file from the envelope.

You can place this field in:

* structured documents

### Add a file field

<figure><img src="/files/0cYGT4P81GOO7WidKx6O" alt=""><figcaption></figcaption></figure>

1. Open the template in edit mode.
2. Find **File 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 uploads the file
* **Placeholder** — hint text shown before upload (if empty, **Name** is used)
* **Optional** — whether uploading the file is required
* **File extension** — allowed file type group

{% hint style="info" %}
Upload limits are set on your instance.

Typical defaults:

* max file size: **5 MB**
* max total upload size per envelope: **25 MB**
  {% endhint %}
  {% endcolumn %}

{% column width="41.666666666666664%" %}

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

#### File extension values

{% tabs %}
{% tab title="All" %}
`.pdf, .doc, .docx, .xls, .xlsx, .xlsm, .xml, .dbf, .txt, .rtf, .csv, .xps, .eml, .msg, .emlx, .rpmsg, .png, .jpg, .jpeg, .tiff, .tif, .zip, .7z, .rar`
{% endtab %}

{% tab title="File" %}
`.pdf, .doc, .docx, .xls, .xlsx, .xlsm, .xml, .dbf, .txt, .rtf, .csv, .xps, .eml, .msg, .emlx, .rpmsg`
{% endtab %}

{% tab title="PDF document" %}
`.pdf`
{% endtab %}

{% tab title="Image" %}
`.png, .jpg, .jpeg, .tiff, .tif`
{% endtab %}

{% tab title="Archive" %}
`.zip, .7z, .rar`
{% endtab %}
{% endtabs %}


---

# 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/file-upload-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.
