How To Make A File Upload Form In WordPress 2021

Do you want to let your users upload files on your WordPress form? Then you came to the right place. Here in this article, I will show you how you can create a file upload form in WordPress.

I’ll also show you why and when you will need a file upload form on WordPress. So, without wasting any time let’s start.

Why and when you’ll need a file upload form?

File upload feature on your form is a great way to gather data such as photos, documents, video, audio, etc. from your site visitors.

Maybe you are going to create a job application form, so here the file upload feature helps you a lot. Using the file upload features on your form, applicants can easily upload their resume.

Like job application forms, there are lots of uses of file upload features on your WordPress form, like client service form, customer support form, event registration form, etc.

As you can see there are lots of uses of a file upload form on your WordPress website. Now let’s see how you can create a file upload form on your WordPress website.

How to create a file upload form on WordPress?

There are lots of plugins that help to create a file upload form on your WordPress website. But I’ll be going to use WPForms, which is the most popular form building plugin for WordPress.

WPForms has got actively installed by 3 million+ users and gets 4.9 ratings out of 5. So, now you know how popular WPForms is, right?

There is a free version of WPForms, but with the free version you can not create a file upload form, so you will need to buy their paid plan. The cool thing is their paid plans start from just $39/year and you will get it on their Basic plan.

But the more you pay, the more advanced features you will get. Click the link below to buy WPForms and get the maximum discount possible:

Multipage Forms, Condition Logic
Entry Management, Drag & Drop
PayPal, Stripe, Zapier, Mailchimp
Login, Registration, AWeber Form
Geolocation, Signatures, File Upload

Step- 1. Create your file upload form in WordPress

First, install and activate the WPForms plugin. If you don’t know how to install and activate the WPForms plugin, please read this article about creating a form in WordPress.

I think I forgot to tell you something about WPForms, that is the WPForms is a drag and drop form building plugin and also comes with lots of pre-made templates. So you can create any type of form in one single click and easily customize your form without any coding knowledge.

Once you’ve activated the plugin, you’ll see a new WPForms tab in your dashboard.

Go to the WPForms > Addons and scroll down to the Form Templates Pack Addon. Click on the Install Addon button to install and activate it.

WPForms form template pack addon install and activate

Now head over WPForms > Add New and enter the name of your template and choose the File Upload Form template.

WPForms file upload form template

After choosing the template, you can easily customize the template, so, you don’t need to worry about that.

Or if you want to create your form from scratch, you can do that by choosing the Blank Form template.

To add any field in your form, simply drag and drop the field from left to right. And for deleting any field, hover over on that element and click the ‘delete icon’.

By default, it’ll allow users to upload the following file types:

  • Images files: .png, .gif, .jpg
  • Documents: .doc, .xls, .ppt, .pdf
  • Video: .mpg, .mov, .wmv
  • Audio: .wav, .mp3, .mp4

But you can easily restrict your file upload type. To do that, simply click on the file upload field and you will see all the options appear from your left sidebar.

WPForms file upload field edited version

In the Allowed File Extensions box, you can type in whatever file formats you want to accept.

You can also set the maximum file size and number of files to upload. You can mark the file upload field as required, so, without uploading any files users aren’t able to submit the form.

WPForms file upload field maximum file size, number of files edited

WPForms also lets you choose the Style of your file upload field. You can switch between the default Modern style and the Classic style.

WPForms file upload form style selection

WPForms recommendation is to use the Modern style option. If you select the Classic style option and you want users to be able to submit more than one file, you’ll need to add more than one File Upload Field to your form.

By default, all files uploaded by users are stored in the WPForms folder inside the Uploads directory of your site.

You can also store all the files on your WordPress media library. To do that, simply check the box called Store file in WordPress Media Library.

WPForms store files in WordPress library option

Note: The uploaded files are still saved in your WordPress database, even if you don’t check this box. They’re just stored in a separate folder in your WordPress hosting account.

I think now you have successfully created your file upload form, now it’s time to configure your form’s notification settings.

Step- 2. Configure Your Forms Notifications

From your form edit section, click Setting and then Notification.

Notifications help the users and also you or your team to know whether the form is submitted or not.

To configure your notifications settings properly, please read our article about how to send a confirmation email.

Step- 3. Configure Your Forms Confirmation

Form Confirmation helps to show a success message or redirect the users to a URL after they successfully submit their form. With WPForms, you can create three types of confirmation messages.

WPForms Confirmation settings

a. With this, you can create a normal message. To create this type of message select Message from the drop-down and put your message.

b. If you select Show Page, you can redirect your users to a specific page.

If you want, you can create a ‘thank you’ page and after your users submit the form, you can redirect them to your ‘thank you’ page.

c. You can show your users a specific URL (like, you can show them a post and redirect them to any other sites). To do that, you need to select the Go to URL (Redirect) option and put your URL.

At least don’t forget to save all of this.

So, select one of them, and don’t forget to save all the changes that you have made by clicking on the Save button.

Step- 4. Adding your file upload form on your WordPress website

Adding a form on your website is so easy. Just create a new page or edit your exciting page and click the add new (+) button and search for WPForms, click on it and select the form you want to add.

WPForms is fully comfortable with Page Builders like Elementor, divi, etc. So, if you are using a page builder on your site, you don’t face any problem.

Step-5. Viewing or downloading the uploaded files

To view your downloaded files, go to WPForms > Entries and select the right form from and click on it.

WPForms view form entries in WordPress

Here you can see full details about the submitted form and also you can download the files by clicking on it.

WPForms view entries

You can use WPForms Zapier Addon to connect WPForms to cloud storage companies like Google Drive, Dropbox, etc. to automatically store your uploaded file.

That’s it in this article. I hope this article helped you to learn how to create a file upload form in WordPress.

If you like this article, don’t forget to share it with your friends and family and also comment in the comment section below about this article.

Newsletter Updates

Get freebies, and special offers delivered directly to your inbox.

Leave a Reply