# File

**Category:** Field

**Version:** 1.0

**Last Updated:** February 25, 2026

**Author:** Any2Info

***

### Description

The **File** field allows form users to upload a file. What kind can be set by the Forms creator through a property.

***

### General Properties

The **File** field inherits general Field Properties such as ‘Font size’, ‘Font color’ and ‘Icon color’.

***

### Special Properties

The **File** field has a few special properties unique to it. These include:

| Name                                             | Value             | Explanation                                         |
| ------------------------------------------------ | ----------------- | --------------------------------------------------- |
| Pick file                                        | string            | The text displayed when no file has been picked yet |
| Picked file                                      | string            | The text displayed when a file has been picked      |
| Allowed files                                    | List of MimeTypes | A list of MimeTypes that can be freely filled in.   |
| By default this allows all files to be uploaded. |                   |                                                     |
| Maximum size                                     | int (0-25)        | Size in MB that the file is allowed to be           |

***

### Tips & Best Practices

* Be precise when adding Mime Types to the **Allowed Files** property, mime types can get rather specific. And a wrong type means some files might not be allowed for uploading. Use Google or any other search engine to determine what mime type fits your needs the best.
* Set a proper **Maximum Size** based on the use case. Uploading multiple large files will slow down the app.

### Errors

| **Error Message**                                   | **Meaning**                                                  | **Solution**                                                                          |
| --------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| Media size cannot be more than {**maximum size**}MB | The file selected to upload exceeds the **Maximum Size** set | Either make the allowed file size bigger or instruct the user to upload smaller files |
| This type of media is not allowed                   | The file selected to upload is not of an accepted type       | Instruct the user to upload a specific type of file                                   |

***

### Examples

Below is a **File** field with the default properties set. When a user clicks on the field a popup will be shown, allowing the user to select a file to upload.

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

Below is the **File** field when a file has been uploaded.

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

Downloading and removing a file can be done through the icons on the top right.

***

### Changelog

| **Version** | **Date**          | **Change**                       |
| ----------- | ----------------- | -------------------------------- |
| 1.0         | February 25, 2026 | Initial document & documentation |


---

# 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://academy.any2info.com/any2info-academy/no-code-platform/app-studio/application-design/forms/fields-toolbox/basics/file.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.
