WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Contact Form 7 not working with jQuery 1.4? (6 posts)

  1. h4rfleur
    Member
    Posted 4 years ago #

    I'm running into what looks like a compatibility issue between Contact Form 7 (version 2.1.1) and the new jQuery 1.4. CF7 works like a charm when I load jQuery 1.3.2, but whenever I switch to jQuery 1.4, pressing the "submit" button in CF7 returns the dreaded "endlessly spinning Ajax wheel with no validation message," although the email is delivered with no problems.

    This is on a site that's in development for a client, so I can't provide a link, but I can confirm that the page validates, and I've tried disabling all other plugins and all extraneous scripts to no avail.

    Are there any known conflicts between CF7 2.1.1 and jQuery 1.4? Any known workarounds if so? I'll revert to jQuery 1.3.2 for now, but I'd really like to use both if possible.

    Thanks in advance for any help you can offer.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Posted 4 years ago #

    There is a known bug in Contact Form 7 2.1.1 conflicting with jQuery 1.4. Try the development version which has fixed this issue.

    http://downloads.wordpress.org/plugin/contact-form-7.zip

    Sorry for the inconvenience.

  3. h4rfleur
    Member
    Posted 4 years ago #

    Brilliant, thanks for letting me know.

  4. doug
    Member
    Posted 4 years ago #

    Your fix works for me as well. Thanks!

  5. Arnii
    Member
    Posted 4 years ago #

    CF7 doesn't work in IE7. The AJAX loader just keeps on going. Nothing happens.

    In Safari and Firefox everything works like a charm...

    Any suggestions?

    Ref.: http://www.ediva.dk/ (click "Kontakt" in the top right to see the form)

    Any help is highly appreciated!

    Thanks...

  6. Arnii
    Member
    Posted 4 years ago #

    Alle right, just found a solution. It was a conflict between the CF7 redirect and the pretty permalinks. I replaced;

    $url = wpcf7_get_request_uri();

    WITH

    $url = '/index.php/'.parse_url($_SERVER['REQUEST_URI']);

    And is working again...

Topic Closed

This topic has been closed to new replies.

About this Topic