• I’ve had to remove the validation from the fields on my Contact 7 form but because the form is submitting twice – the first time correctly and upon attempt of the second submission produces validation errors on the required fields.

    Although I have removed the validation, the form still submits twice – I receive two emails: 1) with the content submitted as entered and 2) a second email will the value in all the fields blank.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • See if you have the “E-mail 2” cheked…
    See if you have the “additional headers” empty

    Thread Starter pmcbride4

    (@pmcbride4)

    lucasfiorio – thanks for the prompt response.

    l am assuming you are referring to Use Mail (2) – if so I do NOT have that checked.

    Additional headers is empty.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try deactivating all other plugins and switching to the default theme.

    Thread Starter pmcbride4

    (@pmcbride4)

    I just want to make sure I understand this correctly – you want me to deactivate every other plugin I have installed on WP Engine, switch to the default of Theme Fusion?

    That sounds pretty extreme to fix this issue?

    @pmcbride4 – it’s just to rule other stuff out. It’s only while finding the issue.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What I mean by default theme is Twenty Fourteen theme.

    Thread Starter pmcbride4

    (@pmcbride4)

    I have not deactivated all other plugins at this stage – I decided to start with the theme. When I changed to the Twenty Fourteen theme, with the 3.9 version of the CF7 plugin, I lost all of the CF 7 forms that I created on my site. It defaulted to a “contact form 1” and given that, my form is no longer appearing on the respective page either.

    Before I proceed with all of the plugins, is this theme related?

    hello pmcbride4,

    I had similar problem. Solved it by adding redirect to thank you page:

    on_sent_ok: “location = ‘http://www.mysite.com/thankyou/’;”

    that way it is redirected right away after form is filled up.

    Hope this helps 🙂

    Any way to make the Ajax version work? I don’t want to do a separate thankyou page.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Form is submitting twice’ is closed to new replies.