Skip to main content

File upload request

What it does​

A page where customers send you files, for example a floor plan and photos of the room they're furnishing. They drop the files onto the form or pick them from their device, add a note and send. Your team gets an email with the files attached, and every file stays with the submission in the admin.

No starter template is built around sending files, so this recipe starts from a blank form.

Uses: a blank form (Creating forms), the File field, Notify your team and Attachments and PDFs in emails.

The finished form with Name and Email filled in, a floor plan PDF and a room photo added under Floor plan or room photos, the allowed types pdf, jpg, jpeg and png, a note about the room and the Submit button

Before you start​

  • Deliver Notifications is on, so WebForms sends email. See Quick start, and How email delivery works for what it holds back.
  • Your store's Customer Support address in Stores → Configuration → General → Store Email Addresses is a mailbox your team reads.
  • You know which file types you want, for example PDF plans and JPG or PNG photos.

Steps​

Create a blank form​

  1. Go to Content → WebForms → Manage Forms.
  2. Click Add Form.
  3. In the list on the left, click Blank form, then Start from Scratch at the right end of the top bar. The builder opens with an empty form called New Form. Nothing is saved until your first change.
Add File Uploads to a Form2:38 · starts at 0:18Watch on YouTube

Add the fields​

  1. In the left panel, drag Name onto the box "Drag an element from the palette on the left and drop it here". This first change creates the form, switched off.
  2. In Field Code, enter fullname, then turn on Required.
  3. Drag Email onto the form below Name and turn on Required. Its Field Code is email followed by _field, because customer accounts already use the code email. The form works with it.
  4. In Search elements... at the top of the left panel, type File. Drag File onto the form below Email.
  5. In Label, enter what you ask for, for example Floor plan or room photos, then turn on Required.
  6. Click the Validation tab. In Allowed File Extensions, enter the types you accept, one per line: pdf, jpg, jpeg and png. Visitors see them under the drop area.
  7. Search for Textarea the same way and drag it onto the form below the File field.
  8. In Label, enter Tell us about the room.
  9. Click Next: Settings at the right end of the top bar. The form's settings page opens with the hint "Final step: turn on Enable Form and click Save."

Leave Enable Dropzone, on the field's General tab, switched on: it's on for every new File field. For the size and number limits, see File field.

Give the form an address​

  1. In Name, enter the name you'll see in the admin, for example Room Plan Upload, and turn on Enable Form (it changes to Yes).
  2. Click Submission Identity in the list of sections on the left.
  3. In Submitter Name, enter {{field:fullname}}.
  4. Click Placement in the list of sections.
  5. In URL Key, enter the last part of the page address, for example room-plan.
  6. Click Save. The message "You saved the form." appears.

Send the files to your team​

  1. Click Notifications in the list of sections on the left.

  2. Click the arrow next to Add New Notification, then Admin Notification under Presets.

    The Presets menu that the arrow next to Add New Notification opens, from Admin Notification down to Blank Notification
  3. Click the new card Admin notification. Its page opens.

  4. In Name, enter Room plan received.

  5. In Store Address, select Customer Support.

  6. Turn on Attach Uploaded Files.

  7. Turn on Status.

  8. Click Save. The message "Notification saved." appears.

Send a test​

  1. Open the form's page on your store, for example /room-plan.
  2. Enter a first name, a last name and an email address you can read.
  3. Drop a PDF and a photo onto the drop area, or click it and pick them. Each file gets a card with its name and size.
  4. In Tell us about the room, type a short note.
  5. Click Submit.

What you should see​

  • The form is replaced by "Thank you! Your submission has been received."
  • In Content → WebForms → Inbox, the submission lists each file under Floor plan or room photos with its size, for example "living-room-plan.pdf [49 kb]", and offers Download Files. See Uploaded files.
  • A little later, the team email arrives at Customer Support with both files attached. Its subject starts with "New request" and gives the reference number and the form's name. The text lists the visitor's name, email, the files by name and size, and the note.

On the test store the form worked the same on the Luma and Hyvä store views.

Make it yours​

  • Change the limits. Set Allowed File Size and Maximum Files in Dropzone on the Validation tab. See File field.
  • Thank the visitor by email. Add a confirmation email. See Send a confirmation email to the customer.
  • Want only pictures? An Image field accepts images only and can make large photos smaller. See Image field.

Limits​

  • Without Allowed File Size, the store's File Upload Limit (KB) applies to each file: 5000 KB unless you changed it. Without Maximum Files in Dropzone, the limit is 5 files.
  • Turning on Allow Frontend File Downloads in the form's Access section makes each file link work for anyone who has it, without signing in. See Uploaded files.
  • The email carries the files only while Attach Uploaded Files is on. Without it, the email lists the file names and sizes, and the files stay in the admin.

Troubleshooting​

What's next​

Applies to WebForms 4Last reviewed October 14, 2026