PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Redirect form to page and form to URL not working

  1. I have a form in the footer of our site, that is sending perfectly fine, but redirecting and other JS related functions don't appear to be working. I imagine it is a conflict of some sort, however I have been unable to find exactly what is the problem.

    Here is the site: http://duncanday.com/
    And you can find the form at the very bottom of the page, after clicking the "click me" link.

    I am embedding a form in my site, using the function call, like this:
    <?php gravity_form(1, false, false, false, '', true); ?>
    And I am using the enqueue script in my header, like this:
    <?php gravity_form_enqueue_scripts(1, true); ?>

    I have noticed that the enqeue script appears to not be loading anything, as I am already loading jQuery. If you view the source, you will see the following annotation, where I am calling the enqueue script:
    <!-- Load Gravity Form Javascript for Footer Contact Form -->

    Posted 12 years ago on Monday April 23, 2012 | Permalink
  2. I have deactivated all plugins, to see if there was a conflict, but the form still would not redirect to the page specified. I'm no expert on debugging JS, but I'm not seeing any errors.

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink
  3. I do see this error here:

    Screenshot

    Does your redirect work when you Preview the form in the formbuilder? Have you tried not using AJAX?

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink
  4. That's interesting that I'm not seeing that error in Firebug. Either way, your second question fixed my problem! When I set AJAX to false, it redirected correctly. I also updated the version of jQuery tools, to the latest. Thank you very much!

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink
  5. Awesome, glad you got it working!

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink

This topic has been resolved and has been closed to new replies.