WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Resolved] How do I implement contact form 7 with AJAX?

[Resolved] How do I implement contact form 7 with AJAX?

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

    @takayukister

    donrhummy

    @donrhummy

    Takayuki Miyoshi, I did look at that. It still does not tell me how to do it. When I create a form in the WordPress admin section, is there a box I check to make it Ajax instead of normal submit form? How do I make it submit via Ajax?

    donrhummy

    @donrhummy

    I have included the correct javascripts (via wp_head() and wp_footer()) and now the submit button doesn’t reload the page but submits via ajax (the form shows up in the database) but it never gives me any validation errors and it never shows success/failure notices either! How do I debug this?

    donrhummy

    @donrhummy

    I discovered the problem but am not sure how to fix it:

    It’s including Javascript files via a non-relative URL (so it shows up as “http://localhost/wordpress/wp-includes/js/jquery/jquery.js?ver=1.7.2”

    How do I make it include the files (scripts and stylesheets) via relative urls?

    Also, I already use jQuery (a later version) so I’d like to use that version instead. How do I change this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How do I implement contact form 7 with AJAX?’ is closed to new replies.
Skip to toolbar