Viewing 6 replies - 1 through 6 (of 6 total)
  • It kinda looks like you’ve used the same download_id value on each of your shortcodes (a download_id of 2). If that’s true, then you need to change that value to be the download_id of each of the files you have there for download (the download_id being the value for each file from over in the “Downloads” section [which is Download Monitor]).

    Also, I noticed it takes like 5 minutes for the email to arrive at my system. Seems like kind of a long time. I don’t know if maybe your hosting provider is scanning those emails on the way out or if it’s set to somehow delay mail or something .. I dunno, seems unusual .. you might want to see if you have the same issue (I tried sending to both a gmail account and also to one of my own servers, same 5 minute delay in email arrival). Maybe talk to your hosting provider.

    if nothing else, I guess you could add some text saying it might take several minutes for the email to arrive

    Thread Starter deenidesigns

    (@deenidesigns)

    Thank you for your quick response!

    I am actually using the unique download id’s created using the Download Monitor plugin.
    Here is a snippet of a section of the code I am using, you can see the shortcodes have a unique id for the form as well as the download screenshot
    And here, my list of downloads in Download Monitor, I’m just pulling the ids from the ID column: screenshot

    Could it possibly be because I am using a unique form for each download? Should the forms be the same id?

    I noticed it takes quite awhile for the emails to arrive too, I think it’s GoDaddy. I will contact them and see if there is anything I can do.

    I have never actually done a page with multiple EBD or CF7 forms on it. However, I have seen other people do it, so at least it used to work in some configuration somehow 🙂

    Ok, looking more closely at the html in your page, I do see that each download has a different value for download_id (which actually gets turned into _wpcf7_download_id in the html). So, on the first one, it’s a _wpcf7_download_id of 2, the next one is a 3, and so on.

    Regardless of which download button I click on and then fill in the form and submit, it always sends a _wpcf7_download_id of 2 (which, as you said, is the first download). Using Firebug, I changed the value of the first download from 2 to 4 in the HTML and then I clicked on the bottom/last download button, filled in the form, and hit submit. This time, it sent a 4 for _wpcf7_download_id and I got a different PDF file.

    So, it looks like regardless of which Submit button you hit, it is actually always submitting the first form on the page. That sounds like a javascript event handler interfering to me. Not sure if that’s coming from Contact Form 7 somehow or if it’s related to your popup forms or your antispam plugin or something else.

    I think at this point, your best bet is to make a new test page with 3 or 4 of your forms on there (like your existing page) but don’t do the popup thing and see if that fixes it. Also, check the CF7 support forum and see if there’s anything about multiple CF7 forms on the same page.

    ps – on your slow email issue, your hosting provider may say that the problem is with the recipient doing virus scanning on the incoming email. However, I made it send to one of my servers that does no processing on incoming email and I watched the mail log file and could see that your system didn’t even attempt to connect for several minutes, so the problem is definitely on your end.

    Thread Starter deenidesigns

    (@deenidesigns)

    I just tested a new page without the popup coding. Same shortcodes as the 5 forms that are on the Designing with Stone page, I picked the 3rd form down and received the correct file in my email…
    test page

    Hard to say exactly why that happens — some event handler OnSubmit probably gets run and then examines the page, finds the first form or maybe the first form with some classname or something and then submits it. I don’t know how you are doing your popups, but if it’s a plugin I’d probably just try a different one & it might work as you want.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using multiple pop-up forms on one page, email contains download from first form’ is closed to new replies.