Re is out: see what's new Lifetime updates on every purchase Support replies within 24 hours Secure checkout via Gumroad 8,500+ sales since 2016

File field

Updated 2 min read 11 views

A File field lets visitors attach files, such as a CV or a photo.

<label>Your CV
  [[your_file]]
</label>

Settings

SettingWhat it does
Allowed typesPicked 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 filesVisitors can pick more than one file at once.
RequiredVisitors 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

MessageDefault text
Upload failedThe file couldn’t be uploaded. Please try again.
File type not allowedThis type of file isn’t allowed.
File too largeThis file is too large.

Change it for one form in its Messages tab, or for every form in Settings → Messages.

Was this article helpful?