File uploads
Forms can accept file attachments (resumes, cover letters, and so on). When the
visitor selects a file in any <input type="file">, the client automatically
switches the request to multipart/form-data and Overture forwards the files as
email attachments. Files are not stored — only the filename, content type, and
size are recorded on the submission.
<form data-contact-form enctype="multipart/form-data">
<!-- standard fields -->
<label>
Resume
<input type="file" name="resume" accept=".pdf,.doc,.docx" />
</label>
<button type="submit">Send</button>
</form>
Limits per submission
- Up to 5 files
- Up to 3 MB per file
- Up to 4.5 MB total across all files
Submissions that exceed these limits are rejected with HTTP 413, and the
failing limit is reported in the response's errors.form array (surfaced via the
contact-form:error event).