← Back to guides
File Uploads
1
Add enctype attribute
Set enctype='multipart/form-data' on your form element.
2
Add file input
Add <input type='file' name='attachment'> to your form.
3
Set file restrictions
Use the accept attribute to limit file types: accept='.pdf,.doc,.docx'
4
Check plan limits
Free: 5MB max, 2 files. Pro: 25MB max, 10 files. Business: 100MB, unlimited.