File Uploads
FormBeam supports file uploads in your forms, allowing users to attach documents, images, and other files to their submissions.
| Maximum files per submission | 5 files |
| Maximum total size | 50 MB |
| Individual file size limit | 10 MB |
These limits help ensure reliable processing of submissions.
FormBeam accepts most common file types. The following are explicitly recognized and tagged with the correct MIME type for email delivery:
Other file types are also accepted and forwarded as attachments with a generic content type.
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.
Uploaded files are attached directly to the email notification. FormBeam does not store any files on our servers.
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.