• Hello,
    I have 3 shortcodes for 3 possible downloads into a single page.
    If the user fill 1 “form” with name and email, the success text is shown below each of the 3 forms and I, as Admin, receive 3 email.

    How to resolve this issue?
    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • I need to find a way around this also.

    I need to have 2 forms per page and have everything working great – except for the multiple and erroneous emails.

    Hi,

    same problem here. It would be great, if there was a soulution for this.

    I have the same problem.
    Any fix for this?

    This patch should fix the issue by checking the id matches:

    
    diff --git a/classes/ed-register.php b/classes/ed-register.php
    index f60967a..7375e70 100644
    --- a/classes/ed-register.php
    +++ b/classes/ed-register.php
    @@ -135,7 +135,7 @@ class ed_form_submuit
                            }
                    }
                    
    -               if ( isset( $_POST['ed_btn'] ) ) 
    +               if ( isset( $_POST['ed_form_id'] ) && $_POST['ed_form_id'] == $ed_form_id )
                    {
                            check_admin_referer('ed_form_subscribers');
                            
    @@ -235,6 +235,7 @@ class ed_form_submuit
                    $ed = $ed . '<p>';
                            $ed = $ed . '<input class="ed_bt_css" name="ed_btn" id="ed_btn" value="'.__('Send Download Link', 'email-download-link').'" type="submit">';
                            $ed = $ed . '<input name="ed_txt_id" id="ed_txt_id" value="'.$ed_email_form_guid.'" type="hidden">';
    +                       $ed = $ed . '<input name="ed_form_id" id="ed_form_id" value="'.(int)$ed_form_id.'" type="hidden">';
                    $ed = $ed . '</p>';
                    
                    if($ed_error)
    

    Hello RickDaley,

    can you tell me please where i need to insert this patch?

    Thanx!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘multiple form in a single page’ is closed to new replies.