Contact Form 7
Ajax Not Working - Form Always Refreshes (1 post)

  1. tripro
    Posted 4 years ago #

    I have a cf7 form that works, but refreshes the page and doesn't use ajax. It refreshes the page after submission, and goes to the middle of the form just submitted. You can't see the 'thank you' message (or any message) since it's in the middle of the form.

    Also attempted to redirect to another page after successful submission in the meantime, and that doesn't work at all. Used the
    on_sent_ok: "location = 'URLhere';"
    in the additional settings, but doesn't redirect after submission. Hmmmmmmmm.....

    Checked all the FAQ's regarding Javascript and AJAX solutions, checked and not getting any JS errors, and the HTML validation seems normal. Other plugins using AJAX work fine so I don't think that's an issue.

    Any ideas? Thanks!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic