• Hi all, I need help customizing the contact form on my website. Basically what I’m trying to do is have a basic form where the user will fill out their Name and email which will both be required, and then right below that is a drop down menu where they can select which file they want, and it will either email the file to them or allow them to download it right away after they hit submit. But before they are allowed access to the files, they have to fill out their name and email, so that the files can be emailed directly to them. How can I setup contact form 7 to do this?

    If you look on the website http://idealogicbrands.com, on the main homepage, on the right sidebar you will see what I’m talking about. I want the user to be able go get a copy of the files only if they sign up for it by entering their name and email.

    http://wordpress.org/plugins/contact-form-7/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter wpguru2

    (@wpguru2)

    Thanks, but how do I allow access to have it send the file ONLY if the user fills out his name and email address and hits the SEND button?

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Make the name and email address fields required.

    http://contactform7.com/text-fields/

    Thread Starter wpguru2

    (@wpguru2)

    Okay I have read the link about file uploading attachments. But it doesn’t explain how I a user can fill out their name/email address, select from a drop down menu a file they want, hit submit, and have it send the user an email with that file that they selected from the drop down menu? I am having trouble getting this setup properly. Would appreciate some help. I have 4 pdf files that I want to offer my users to be able to get after filling out the required name/email fields.

    This is what I have so far:

    <p>Your Name (required)
    [text* your-name] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    <p>[select* menu-198 “File 1” “File 2” “File 3” “File 4”]</p>

    <p>[submit “Send”]</p>

    But where do you go to specify the links to the pdf files and have them attached to the email? They are located on my web host. I’m not sure how to do this.

    Thread Starter wpguru2

    (@wpguru2)

    do I add this to the additional settings: area?

    on_sent_ok: “location = ‘http://url.com/file1.pdf&#8217;;”
    on_sent_ok: “location = ‘http://url.com/file2.pdf&#8217;;”
    on_sent_ok: “location = ‘http://url.com/file3.pdf&#8217;;”
    on_sent_ok: “location = ‘http://url.com/file4.pdf&#8217;;”

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I don’t get what is the problem you’re trying to solve. Already you have made it possible for only users who entered those required fields to submit and access the attached files.

    <p>Your Name (required)
    [text* your-name] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    The above instructions are for uploading documents, but how do you download documents after hitting the submit button? Thanks.

    Thread Starter wpguru2

    (@wpguru2)

    Exactly, I want it to have it where the user can select which file they want to download after filling out the required info. Not attach a file and upload it.

    I’m trying to do the same thing. You think it would be easy. I’ve looked at a couple plugins and this one seems like it should work and is something that a lot of people would want to do. Please post what your solution was.

    @ritajoc, @jason Atwater

    You are possibly better looking at something like Easy Digital Downloads for making downloads available – that’s what it’s made for.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Need help customizing contact form to allow downloads after user fills in info’ is closed to new replies.