File Uploads Starter Plan
Give users the option to upload any type of file on their form submission. Save securely and even attach uploaded files on our outgoing emails.
Adding a file upload field
To add a file upload option to your form:
enctype="multipart/form-data"to your form tag.
- Create an input with
<form ... enctype="multipart/form-data"> <input type="file" name="upload"> </form>
File upload validation
You can validate file uploads using our form validation rules. See the form validation introductions to learn how to use the rules. Then you can apply one of the following commonly used validation rules for file uploads:
File upload and emails
In a notification email you can display the uploaded file in two different ways:
Link to file
A link to the file will be displayed in the notification email. When clicked you will be able to see the file in a web browser.
You can attach the uploaded file to the notification email. To attach the files to the notification email follow these steps:
- From your dashboard select a website > form name > email settings
- Select the option "Attach File Uploads"
Message size limits
The total message size should not exceed 20MB. This includes the message itself, headers, and any attachments. If you would like to send a message with files greater than 20MB then we recommend linking to the file in the email rather than attaching it.
The maximum file size per upload is 1GB.
Notice anything wrong in our docs? Let us know.