Features
File uploads
Upload images, documents and more with your form using FormBackend
Accept file uploads by adding a file input and setting the form’s enctype to multipart/form-data.
<form action="https://www.formbackend.com/f/{your-form-token}" method="POST" enctype="multipart/form-data"> <label for="name">Name</label> <input type="text" id="name" name="name" required> <label for="resume">Resume</label> <input type="file" id="resume" name="resume" accept=".pdf"> <button type="submit">Submit</button> </form>
The enctype="multipart/form-data" attribute is required for browsers to upload files.
Multiple files
Use the multiple attribute and end the field name with []:
<input type="file" id="photos" name="photos[]" accept="image/*" multiple>
You can also add several separate type="file" inputs with different names.
Limit accepted file types
Use the HTML accept attribute so the browser filters selectable files:
<input type="file" id="resume" name="resume" accept=".pdf">
<input type="file" id="photo" name="photo" accept="image/*">
<input type="file" id="logo" name="logo" accept="image/png">
accept is a client-side hint. FormBackend also offers attachment safety settings (including rejecting harmful attachments) on supported plans from the form Settings tab.
Emails and attachments
You can optionally attach uploaded files to owner notification emails. See Email attachments and Sending emails.