• Resolved imxaveus

    (@imxaveus)


    Hi,

    I’ve got some problems with my contact form. My contact form was working perfectly but since a little while, it sends multiple mails. I suspect an AJAX problem because when you submit your mail, it’s reloading the page and the message “The message has been sent” is not showing. And in an other page with an other form, it’s working great, sending one mail and AJAX is working (it shows the message that the mails has been sent).

    I’ve tried to make a new form and a new page to see that was the problem but still not working.

    Thanks !

    The page I need help with: [log in to see the link]

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

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter imxaveus

    (@imxaveus)

    Hi @takayukister ,

    I’m using so many plugins lol and using Rey Theme

    The thing I don’t understand is that an other form on an other page is working perfectly but this one is not.

    hi @imxaveus

    seems your issue is related to this:
    https://contactform7.com/faq/after-submission-my-contact-form-redirects/

    check your form html, seems you have a “</p>” that close name input but no “<p>” at the beginning.

    Thread Starter imxaveus

    (@imxaveus)

    Hi @codekraft !

    Thanks for your reply.

    I’ve tried with an other form without <p> and keeps having the problem. (I’ve deleted the <p> because it was useless lol, thx for this check)

    But I have find the problem :
    Due to Google Page Speed test, I’ve put some code about passive listener into my JS that have to make listener becoming passive. As a very very beginner into JS, this code broke the AJAX so it was reloading the page. I deleted my code and looks like to work great again.

    Anyway, thanks for your time and advices ! ??

    Jordan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ajax submit not working + Send multiple messages’ is closed to new replies.