First, add a Text field, which will be a single line field. Simply title it "File Name. Next, expand the options of the field and make sure you check the boxes Required and Unique. You can see what it looks like in the image below.
The next field you should add to the form is a File Upload field. This is how it should look below:. Now it's time to save the form and protect the uploaded files , so click update. Click on Settings after the form has been updated. Then, scroll to Form Permissions and check the box that says Protect all files uploaded in this form.
To save this change, simply click Update. Very important: your new subscribers need to see the files you're giving them. So you'll need to display those files. You can do this by creating a new View. This is just like when you create a brand new form, except you click on View instead of Forms. Choose Grid for the View type. Call your new View "Display Protected File. In the content box, click on the Text tab instead of Visual.
Otherwise, this won't work. Save your changes before moving onto the next step. More on that later. Now that the groundwork is in place, let's create a simple contact form that will appear on your WordPress site.
Be sure to include an email address field and check the Required box. This way, you'll be able to capture the email address before receiving the digital download. Then feel free to add whatever fields to the form you want. This is the form where users submit information to receive a download. The next step is to show them the downloadable file after they give you their email address.
This is where the whole idea of offering the files is put into action. To do this, go to the Form Settings page for the contact form you just created.
Set the form to Show a Message on submit. This will be a success message, telling the user they've successfully signed up. This message is where you'll display the View with the link for users to download the file. You could also include the View shortcode in the email notification to send the download link, or even use it to create a download page. If you'd like to include multiple files, repeat the shortcode with a different file name. You did it! Now you should have a fully functioning form that requires an email to download a file, giving new subscribers access to your gated content.
Create Your File Download Form. If you're not already using Formidable Forms, we have plenty of great features to help your website boost conversions. We offer simple solutions to complex problems. Get started with our free plugin or the full-featured premium versions!
Get Formidable Forms Lite Now. This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions. This doesn't test that the email is valid, I know I've done this before with your help pointing to the correct article, but months later can't find it Hi Craig, Sorry we missed your comment!
Here are the instructions to verify an email address. Instead of showing another form, you can show the files instead.
Good article. I have been using Forms to collect information for years and have settled on Formidable for the last few years as the only one I use. Collecting email addresses is a must and really simple to do. I've only just started to use Formidable and the functionality, and supporting documentation has been excellent.
Thank you for this guide. Another similar option that I've used which also works great is to use the "Send Email" action, which allows you to include a file attachment an automated email back to the person filling out the form. I like this option because you are guaranteed that the email address will be a valid one, or else they won't receive the email! Great suggestion. As long as you have a reliable email system set up so you can be confident emails are going through, this is a great option.
This is a nice option. But how do you attach the file that has been uploaded via the "download manager form"? And if I send a mail with the file, can I do it without showing the view to the user?
You can send the uploaded files as an email attachment without a view. Or you can include the View shortcode right in the email. This is a built in feature of our pro version. Parth Shah Parth Shah 78 1 1 silver badge 10 10 bronze badges. That would work - though I'm looking to have one form serve two different files, depending on where the user accesses the form.
I think I'm just going to end up doing this. I won't programmatically differentiate between downloads, and just make two forms with two different downloads.
For now, at least. Thanks, parths. Can we make that pdf open in new tab, instead of same tab? I had the need to add a download CTA after the content of all case studies of a website, but "in exchange" of user's data for: display a CF7 form on your page, I had the same one on all case studies post type single which I hooked after the content find a way to get the wanted PDF url for people to download, as for me all case studies have a different PDF, I simply added an ACF field, filtered on PDF only, which returns the file url based on CF7 Dom events , choose the action you prefer to make the dowload happens, as I am not sending any confirmation email, I prefer working on the wpcf7submit event.
Maxime Culea Maxime Culea 2 2 silver badges 4 4 bronze badges. Yes, I needed 2 weeks ago, and after a lot of research none questions was correctly answered.
So could you consider upvoting in order people to find the right answer to this question please? Semir Semir 1. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.
Introducing Content Health, a new way to keep the knowledge base up-to-date. Podcast what if you could invest in your favorite developer? Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Related 0. Hot Network Questions. Question feed. Accept all cookies Customize settings.
0コメント