Skip to main content
Auto Form Builder
Download FREE
A WordPress form with a file upload field accepting a document

How to Add File Upload to Your WordPress Forms

Sometimes a form needs more than text. A job applicant has a résumé to send, a customer has a photo of a damaged product, a client has a signed document to return. Collecting those files through a form — instead of a messy back-and-forth over email — keeps everything validated, organized, and attached to the right person. Auto Form Builder’s File Upload field does exactly that, free and without code.

Why collect files through a form

Gathering files over email creates problems: attachments get lost in threads, you can’t tell which message belongs to which request, and there’s no control over what people send. A file upload field fixes all three. The file arrives attached to a specific submission, it’s checked before it’s accepted, and it sits in your dashboard alongside the rest of that person’s answers.

Step 1: Add the File Upload field

Open your form in the builder and drag the File Upload field onto the canvas. Give it a clear label so people know what you’re asking for — “Upload your résumé (PDF)” is far better than a bare “Upload.”

Step 2: Set the allowed file types

Click the field to open its settings and choose which file types you’ll accept. Restricting types does two things: it prevents people from sending the wrong kind of file, and it keeps your site safer by refusing anything you didn’t ask for. If you only want PDFs and images, allow only those.

Step 3: Set a maximum file size

Next, set a maximum file size. This stops oversized uploads from causing problems and nudges people to send a reasonably sized file. Match the limit to what you actually need — a few megabytes is plenty for most documents and photos.

Step 4: Keep it secure

Every upload is validated before it’s accepted, so the field only lets through files that match your rules. Combined with type and size limits, that keeps unwanted or unsafe files off your site. If your form is public, it’s also worth turning on spam protection to keep automated submissions out.

Step 5: Find your files

Once the form is live, every uploaded file is stored with its submission. Open the entry in your submissions dashboard and the file is right there in the entry details, tied to the person who sent it — no hunting through your inbox.

Common uses

A file upload field fits a wide range of forms:

  • Job applications, where candidates attach a résumé or portfolio.
  • Support requests, where a screenshot explains the problem faster than words.
  • Document collection, where clients return signed forms or paperwork.
  • Creative briefs, where people share references or examples.

Wrapping up

Adding file upload to a WordPress form takes a couple of minutes: drop in the field, set the types and size you’ll accept, and let the plugin validate and store everything for you. It’s a small addition that removes a lot of email friction — and like every core feature in Auto Form Builder, it’s free.

Related reading: Accepting multiple file uploads, secure file uploads, and drag-and-drop file uploads.

Ready to collect files the clean way? Install Auto Form Builder free from WordPress.org.

FAQ

Can I limit which file types people upload?

Yes. On the File Upload field you can set the allowed file types and a maximum file size, so only the files you expect get through.

Where are uploaded files stored?

Each uploaded file is validated and stored with its submission, so you can view it from the entry details in your dashboard.

Related

Build it free with Auto Form Builder

Install from WordPress.org — every core field and feature is included free.