Contact Form with File Upload

A contact form that lets visitors attach files like resumes, screenshots, documents, or images. Uses the standard HTML file input with enctype="multipart/form-data". Requires FormWit Starter plan or higher for file attachment support.

Contact Form with File Upload preview

Template Code

HTML
<form action="https://app.formwit.com/api/s/YOUR_FORM_ID" method="POST" enctype="multipart/form-data">
  <label for="name">Name</label>
  <input type="text" id="name" name="name" required />

  <label for="email">Email</label>
  <input type="email" id="email" name="email" required />

  <label for="message">Message</label>
  <textarea id="message" name="message" rows="4" required></textarea>

  <label for="attachment">Attachment (optional, max 10MB)</label>
  <input type="file" id="attachment" name="attachment" accept=".pdf,.doc,.docx,.png,.jpg,.jpeg" />

  <input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off" />

  <button type="submit">Send Message</button>
</form>

Want to customize?

Build your own form visually with our free HTML form generator.

Try the Form Generator →

Use cases

  • Support forms where users attach screenshots
  • Job application pages accepting resumes
  • RFQ forms for receiving project briefs or specifications
  • Any form where file attachments add context

Customization tips

  • Change the accept attribute to restrict file types (e.g. .pdf only)
  • Add multiple to the file input to allow multiple attachments
  • Change the max file size note to match your plan limits
  • Style the file input with a custom button using CSS or a label overlay

Related guide

Want a step-by-step walkthrough? Read the full HTML Contact Form Guide.

Related templates

Frequently asked questions

What file types are supported?

FormWit supports common file types including images (PNG, JPG, GIF), documents (PDF, DOC, DOCX), and more. The accept attribute on the input controls what the browser allows.

Is there a file size limit?

Yes. The maximum file size is 10MB per attachment. This is enforced server-side by FormWit.

Do I need a paid plan for file uploads?

Yes. File attachment support requires the FormWit Starter plan or higher. The free plan does not include file uploads.

Get your form working in 30 seconds

  • No credit card required
  • Unlimited forms
  • 100 submissions/month free
Get Started Free