Last updated: Last update 2 September Letting visitors attach documents, images, or resumes directly through your website is one of the most requested form features — but the default browser file input is ugly, confusing, and does not support drag and drop. A modern drag-and-drop file upload field makes the experience faster and more intuitive on both desktop and mobile. This guide shows you how to enable drag-and-drop file uploads in WordPress using Auto Form Builder. You will add a file upload field, turn on drag and drop, restrict file types and sizes, and manage uploaded files from your submission inbox — no coding required. The standard HTML file input — a small “Choose File” button with “No file chosen” text — works, but it feels dated. Visitors on desktop expect to drag files from their folder directly onto the upload area. On mobile, they expect a large tap target that opens the native file picker. A modern drag-and-drop upload field improves the experience in several ways: Auto Form Builder includes a fully featured File Upload field with drag-and-drop support in the free plugin. No separate upload plugin or custom JavaScript required. WordPress itself handles media uploads in the admin dashboard, but it does not give your front-end forms a drag-and-drop upload experience out of the box. Most form plugins offer a basic file input — the same small browser button visitors have seen for decades. Auto Form Builder replaces that with a modern file upload interface: Go to Auto Form Builder in your WordPress admin and open an existing form or click Create New Form. The drag-and-drop builder loads on the canvas. Find File Upload in the fields sidebar and drag it onto your form canvas. Place it after the fields where you collect the visitor’s name and email — most upload forms collect contact details first, then the file. Click the File Upload field to open its settings. Set a clear label: Mark the field as Required if a file must be attached before the form can be submitted. Scroll to the File Upload Options section and check Enable Drag & Drop. The upload area on the frontend will display “Drop file here or click to browse” instead of a basic button. Configure allowed file types, maximum size, and whether multiple files are permitted (covered in the sections below). Save the form, copy the shortcode, and paste it onto your page. Auto Form Builder lets you create multi-step forms, calculators, and lead capture forms in WordPress, then embed them on any site with a single line of code. Drag and drop is a single setting in Auto Form Builder — no code, no JavaScript snippets, no page builder widgets. On the frontend, visitors see a styled upload area. They can either: When a file is dragged over the zone, the area highlights with a visual drag-over state so visitors know exactly where to drop. On mobile, the tap-to-browse interaction works through the same upload area — no separate mobile configuration needed. You can customize the upload button text separately. Change “Choose File” to something more specific like “Select Resume” or “Browse for Images.” Unrestricted file uploads are a security risk. Auto Form Builder gives you precise control over what visitors can attach. Select file categories using checkboxes: For more specific control, enter custom extensions in the Specific File Extensions field — for example, Set Maximum File Size in megabytes (MB) per file. For example, enter Leave the size field empty to use your server’s default upload limit. Note that your hosting provider’s PHP upload limits still apply as a hard ceiling regardless of your form setting. File type and size checks run on both the browser and the server. Even if someone bypasses client-side validation, the server rejects files that do not match your allowed types or exceed the size limit. MIME type checking verifies the actual file content, not just the file extension. Some forms need a single file — a resume, a profile photo, one PDF. Others need several — supporting documents, a portfolio, or multiple images. Enable Allow Multiple Files in the File Upload Options. When drag and drop is also enabled, the upload area displays “Drop files here or click to browse” and visitors can Ctrl+click to select multiple files from the browser dialog. With multiple files enabled, two additional settings appear: Duplicate files (same name and size) are automatically skipped in multiple-file mode. Each selected file appears in a list below the upload area with a remove button, so visitors can review and adjust their selection before submitting. Enable Show File Previews to display visual confirmation of selected files: Previews appear in a list below the upload area. Each file has a remove button so visitors can swap files without refreshing the page. Enable Auto-upload on Selection to start uploading files immediately when they are selected or dropped — instead of waiting until the visitor clicks Submit. Auto-upload uses AJAX with a progress bar for each file. Visitors see the upload percentage in real time. This is especially useful for large files or slow connections, because the upload completes before the rest of the form is filled out. When the visitor submits the form, the already-uploaded files are linked to the submission automatically. The form will not submit until all pending uploads are complete. Every uploaded file is stored securely with the form submission. To access them: Image files display as previews in the entry view. Document and archive files show as downloadable attachments. File uploads are included in admin notification emails and can be referenced in user confirmation emails through the Search submissions by filename or visitor details using the Submissions search bar. Export entry data from Settings → Import/Export for backup or reporting. Uploaded files also work on embedded forms placed on external websites via the embed code — the same drag-and-drop interface and file storage apply regardless of where the form is displayed. File uploads are a common attack vector. Auto Form Builder includes several security measures: Configure restrictions that match your use case. A resume upload form should accept only PDF and DOC files — not images, archives, or executables. Tighter restrictions mean a smaller attack surface. Install Auto Form Builder, add a File Upload field to your form, and check Enable Drag & Drop in the File Upload Options settings. Save the form and publish it. Visitors can then drag files onto the upload area or click to browse. Yes. The File Upload field with drag-and-drop support, file type restrictions, size limits, multiple file uploads, previews, and auto-upload is included in the free plugin. Yes. Enable Allow Multiple Files in the field settings. Set minimum and maximum file counts to control how many attachments are required or permitted. Visitors can drag multiple files at once or Ctrl+click to select several in the file browser. Auto Form Builder supports images (JPG, PNG, GIF, WebP), documents (PDF, DOC, DOCX, TXT), spreadsheets (XLS, XLSX, CSV), presentations (PPT, PPTX), archives (ZIP, RAR, 7Z), audio, and video. You can also specify custom file extensions like .jpg, .pdf, or .docx. You set the per-file size limit in megabytes in the field settings. The server also enforces your hosting provider’s PHP upload limit as a maximum ceiling. Visitors see an error immediately if their file exceeds the limit. Yes. Every uploaded file is attached to its submission. Open any entry in Auto Form Builder → Submissions to view, preview, or download the files directly from the entry detail page. Drag and drop is primarily a desktop feature. On mobile, the upload area acts as a large tap target that opens the native file picker — photos, documents, or camera depending on the device. The same upload area and file restrictions apply on all devices. Yes. Forms embedded on external websites via the embed code support file uploads with the same drag-and-drop interface, restrictions, and submission storage as forms on your WordPress site. Auto Form Builder lets you create multi-step forms, calculators, and lead capture forms in WordPress, then embed them on any site with a single line of code. Stop relying on the browser’s default file input. Auto Form Builder gives you a modern drag-and-drop upload field with file type restrictions, size limits, previews, progress bars, and secure storage — all free, all configurable from the visual form builder. Install Auto Form Builder from WordPress.org and add your first file upload field in minutes. Or try the live demo to test drag-and-drop uploads on your device.How to Enable Drag and Drop File Uploads in WordPress
Why Use Drag-and-Drop File Uploads?
Default WordPress Uploads vs. Modern File Fields
Feature
Standard File Input
Auto Form Builder File Upload
Drag and drop
Not supported
Enable with one checkbox
Upload area design
Tiny browser button
Large, styled drop zone with icon and instructions
Multiple files
Limited browser support
Full control with min/max file limits
File type restrictions
Basic accept attribute
Category checkboxes + custom extensions + server validation
Size limits
Server default only
Per-field MB limit with client and server checks
File previews
None
Image thumbnails and file-type icons
Upload progress
None
Progress bar with auto-upload option
Submission storage
Varies by plugin
Files saved and downloadable from the Submissions inbox
Step-by-Step: Add a File Upload Field
Step 1: Open the Form Builder
Step 2: Add the File Upload Field
Step 3: Configure the Field Label
Step 4: Enable Drag and Drop
Step 5: Set Restrictions and Save
Build forms that embed anywhere — free
Enable Drag and Drop
Restrict File Types and Sizes
Allowed File Types
.jpg, .png, .pdf. Only files matching your allowed types can be selected or dropped.Maximum File Size
5 to limit each file to 5 MB. If a visitor tries to upload a larger file, they see an inline error message immediately — before the form is submitted.Server-Side Validation
Allow Multiple File Uploads
File Previews and Auto-Upload
Show File Previews
Auto-Upload on Selection
Common Use Cases
Job Application Form
Support Ticket with Screenshots
Photo Contest Entry
Document Collection Form
View and Download Uploaded Files
{submission_data} placeholder.Security and Validation
Best Practices for File Upload Forms
Frequently Asked Questions
How do I enable drag-and-drop file uploads in WordPress?
Is the file upload field free in Auto Form Builder?
Can visitors upload multiple files at once?
What file types can I allow?
Is there a file size limit?
Can I see uploaded files in the WordPress dashboard?
Does drag-and-drop work on mobile?
Do file uploads work on embedded forms?
Build forms that embed anywhere — free
Add Drag-and-Drop Uploads to Your Forms Today
Table of Contents
Table of Contents
Learn how to set character limits on WordPress form fields. Configure minimum and maximum length validation for text fields and textareas.
Comparing Auto Form Builder and Contact Form 7 for WordPress. See which form plugin offers better ease of use, features, and value for your website.
Should you use one field or multiple fields for names? Learn the pros and cons of each approach and how to set up name fields in WordPress.
Learn how to add email confirmation fields to your WordPress forms. Prevent typos and ensure you collect valid email addresses every time.
Should you rely on email notifications or store form submissions in your database? Compare both approaches and learn when to use each.
Learn how conditional logic improves form conversion rates. Discover why shorter, personalized forms get more completions and better quality leads.
Learn about Western vs Eastern name order in form design. Create inclusive forms that handle international name formats correctly.
Learn how to add range sliders to WordPress forms. Create interactive number selection with visual sliders for budgets, ratings, quantities, and more.
Learn how to create a resume submission form in WordPress. Accept job applications with file uploads, contact info, and candidate details using AFB.
Learn conditional logic best practices for WordPress forms. Create better user experiences by showing relevant fields and hiding unnecessary ones.
Learn how to create form sections using HTML blocks in WordPress. Organize long forms with headings, dividers, and visual groupings for better UX.