File Uploads

FormBeam supports file uploads in your forms, allowing users to attach documents, images, and other files to their submissions.

Upload Limits
File size and quantity restrictions.
Maximum files per submission5 files
Maximum total size50 MB
Individual file size limit10 MB

These limits help ensure reliable processing of submissions.

Supported File Types
What types of files can be uploaded.

FormBeam accepts most common file types. The following are explicitly recognized and tagged with the correct MIME type for email delivery:

Documents: PDF, TXTImages: JPG, PNG, GIFArchives: ZIPOther formats accepted

Other file types are also accepted and forwarded as attachments with a generic content type.

Adding File Upload Fields
How to include file uploads in your forms.

Include file input elements in your form. Use standard HTML file inputs with appropriate attributes.

<input type="file" name="attachment" accept=".pdf,.doc,.docx,.jpg,.png" multiple>

The multiple attribute allows users to select multiple files.

File Processing
How uploaded files are handled.

Uploaded files are attached directly to the email notification. FormBeam does not store any files on our servers.

Files delivered as email attachmentsFiles included in email notificationsSupport for multiple file types
HTML Form Requirements
Required attributes for file uploads.

When embedding a form with file uploads, ensure your form tag includes these attributes:

<form action="https://api.formbeam.io/f/{form-slug}" method="POST" enctype="multipart/form-data">

The enctype="multipart/form-data" is crucial for file uploads to work properly.