WordPress.org

Ready to get started?Download WordPress

Forums

Ninja Forms
[resolved] Submit Button Doesn't Work, Pulling My Hair Out (6 posts)

  1. pagosasunmike
    Member
    Posted 1 year ago #

    Sorry to post this after seeing in on here a few times already. I've looked at my page and can't figure out if there is a conflicted version of jquery loading that would make the form not work. It does work fine out of the admin dashboard and I've tried it with all of the other plugins deactivated.

    Here's the page I'm working in before I push everything live:
    http://pagosasun.com/wordpress/classifieds/submit-a-classified-ad/

    http://wordpress.org/extend/plugins/ninja-forms/

  2. James Laws
    The WP Ninjas
    Plugin Author

    Posted 1 year ago #

    Yup, you themes most likely is included jQuery version 1.8.1 <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=3.4.2'></script>

    WordPress' version of jQuery UI is not completely compatible with that version of jQuery and instead is looking for version 1.7.2 which is what is currently bundled with WordPress.

    If you fix that all should be well.

  3. pagosasunmike
    Member
    Posted 1 year ago #

    James,

    Thanks for the reply. I was able to find that in the theme files and cut it out. Now when you click submit it just reloads the page. It also changed the formatting for the phone number entry.

    Any clues? I'm self taught on html and I'm doing my best to figure all of this out on my own, but I know when I need help.

  4. James Laws
    The WP Ninjas
    Plugin Author

    Posted 1 year ago #

    Well you need to find where the theme is enqueueing the jQuery and make sure that it is properly enqueueing your WordPress included version. What you did was essentially remove jQuery completely and now Ninja forms can't function because it still needs it. Just not the version your theme was including.

  5. pagosasunmike
    Member
    Posted 1 year ago #

    The 18th try is always a charm! Finally success. Couldn't have done it without you James. Just changed the link for the googleapis to: "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/ jquery.min.js"

  6. James Laws
    The WP Ninjas
    Plugin Author

    Posted 1 year ago #

    Awesome! That should definitely work. Good job and glad it's working for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.