How to accept file uploads in Elementor forms
Elementor Pro includes a File Upload field for its Form widget, so you do not need custom code for basic uploads. Add the field, set its limits, choose how files are delivered, and test the form with a real file before publishing. Use an add-on when you need drag-and-drop multi-file uploads.
- 01Open the Elementor form
- 02Add a File Upload field
- 03Set upload rules
- 04Choose how files arrive
- 05Configure the email action
- 06Test the complete submission
What you need
- Elementor Pro with the Form widget enabled
- Admin or Elementor editing access
- A working site email address
- A clear list of permitted file types and maximum sizes
Open the Elementor form
Edit the page containing your form with Elementor. Select the Form widget, then open Content and expand Form Fields. If you are starting from scratch, add the Form widget to the page first.
The built-in upload field is part of Elementor’s form field set, but the Form widget is an Elementor Pro feature.
Add a File Upload field
Add a new form field, or select an existing field and change its Type to File Upload. Give it a useful label such as CV, project files, or proof of purchase.
Open the field’s advanced settings and give it a unique ID. Avoid reusing the same ID on another field, because Elementor uses field IDs when it processes and displays submitted values.
Set upload rules
Restrict the upload to the formats you actually need, such as PDF, DOCX, JPG, or PNG, and set a sensible maximum file size. Make the field required only when every submission must include a file. If visitors need to send more than one file and your Elementor interface provides a multiple-files option, enable it.
Do not allow broad formats such as executable files unless there is a specific business reason. Server and hosting limits can still reject a file even when the Elementor limit allows it, so keep the limit below the lowest limit supported by your hosting account.
Choose how files arrive
In the upload field settings, choose whether the site stores the file and emails you a link, sends it as an email attachment, or uses both options. The link option keeps a copy available through WordPress, while the attachment option sends the file by email instead.
There is an important trade-off: when you choose Email with attachment, Elementor says the uploaded file will not be available through WP Admin. Use the link option when you need a submission record, and the attachment option when keeping the file on the server is undesirable.
Configure the email action
Open Actions after Submit and make sure Email is included. Enter a recipient address on your site’s domain where possible, and use the upload field’s generated shortcode if you want to reference that field in the email message.
Keep the form’s field IDs unique. If emails do not arrive, check the form’s submissions, confirm the file itself was accepted, and test WordPress email delivery through SMTP. A form can record a submission successfully while the email fails to reach the inbox.
Test the complete submission
Publish or update the page, then submit the form as a visitor. Test an allowed file, a file that is too large, and a file with a disallowed extension. Confirm the success message, the submission record, and the email or file link.
For a basic one-file upload, Elementor’s built-in field is usually enough. For drag-and-drop uploads, multiple files, richer validation, and clearer upload feedback, the fast route is to add Dropzone Field For Elementor Form and configure its limits in the Elementor editor.
Let Dropzone Field For Elementor Form do it
Adds multi-file drag-and-drop uploads with validation and size limits, ideal when Elementor forms need richer file submission fields.
Sources
- developers.elementor.com /docs/form-fields/?utm_source=openai
- elementor.com /help/receive-form-file-attachments-by-email/
- elementor.com /help/form-widget/
- elementor.com /help/server-errors/?utm_source=openai
- elementor.com /help/atomic-form-element/?utm_source=openai
Questions
- Does Elementor support file uploads without custom code?
- Yes, Elementor Pro’s Form widget includes a File Upload field, so basic uploads do not require custom code. Add the field to the form, set its restrictions, and choose whether the file is sent as an attachment, stored with an emailed link, or handled both ways. The built-in field is suitable for simple document or image submissions.
- Can Elementor forms accept multiple files?
- They can, depending on the form interface and version you are using. Elementor’s newer Atomic Form documentation includes a Multiple files option for its File Upload element, while many sites still use the standard Form widget. If your interface does not offer multiple files or drag-and-drop behaviour, use a compatible upload add-on instead.
- Why are uploaded files not arriving by email?
- Uploaded files may fail to arrive because the file exceeds a server limit, the file type is rejected, WordPress email delivery is failing, or the email action is not configured correctly. Check the submission record first, then test with a small permitted file and configure SMTP if ordinary WordPress mail is unreliable.
- Are Elementor file uploads stored in WordPress?
- It depends on the delivery setting. Email with link keeps a copy on the site and sends the recipient a link, while Email with attachment sends the file by email without leaving it available through WP Admin. Choose the storage behaviour before collecting sensitive documents, and avoid retaining files you do not need.