Pro
How to accept file uploads in your form
On Pro, you can accept file attachments with your form submissions. The max size is 5MB per file.
1. Enable file uploads (Pro)
- Open your form in the dashboard.
- Go to Settings → Security.
- Toggle File Uploads on.
- Click Save Settings.
2. Update your HTML form to multipart
File uploads require multipart/form-data.
<form action="https://www.forms.fyi/api/f/<form_id>" method="POST"
enctype="multipart/form-data">
<input type="text" name="special-instructions"
style="display:none" tabindex="-1" autocomplete="off" />
<label for="email">Email</label>
<input type="email" name="email" id="email" required />
<label for="message">Message</label>
<textarea name="message" id="message" required></textarea>
<label for="attachment">Attachment (max 5MB)</label>
<input type="file" name="attachment" id="attachment" />
<button type="submit">Send</button>
</form>