File field
A File field lets visitors attach files, such as a CV or a photo.
<label>Your CV
[[your_file]]
</label>
Settings
| Setting | What it does |
|---|---|
| Allowed types | Picked from a list of images, audio, video, PDF and plain text: files that can’t carry code or macros. Type to search, such as pdf or video. By default: jpg, jpeg, png, gif, webp, pdf, txt. Other types, such as Word files, ZIP archives, web pages or SVG, are never accepted. |
| Max size (MB) | The largest file allowed, 2 by default. Your server may set a lower limit, and that one wins. |
| Several files | Visitors can pick more than one file at once. |
| Required | Visitors must attach a file to send the form. |
Get the files by mail
Put [your_file] in the mail’s Attachments. The files go with the mail and are then deleted from the server. In the body of the mail, [your_file] prints the file names.
The entry keeps the names, not the files.
Messages
| Message | Default text |
|---|---|
| Upload failed | The file couldn’t be uploaded. Please try again. |
| File type not allowed | This type of file isn’t allowed. |
| File too large | This file is too large. |
Change it for one form in its Messages tab, or for every form in Settings → Messages.
Was this article helpful?
Thanks for your feedback!