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.

Gravity Forms (initilization) with single page interface site (ajax)

  1. hubrik
    Member

    Hello,
    I'm building a WP site using the Advanced Ajax Page Loader plugin (http://software.resplace.net/WordPress/AjaxPageLoader.php) to create a Single Page Interface site. That means all my links open pages using AJAX to prevent a full page refresh.
    I have a multi-page form that opens but does not completely initialize when the form is retrieved.
    When I browse directly to my form page the form works fine, the form's pages load and the progress bar appears.
    BUT if I browse directly to my home page and then click to load the form (opens via ajax in a div) the form doesn't show up.

    Clearly the issue is that all the javascript that executes when a form is loaded is not being fired - I need my AJAX loader to (re)trigger all that Javascript to load and show the form correctly.

    My question is:
    Can anyone tell me what functions need to be called in order to correctly load and initialize for the form each time it opens?

    I have tried to extract all the document.ready() functions but it's still not working. I'm hoping some of the great support people here can simply list the functions that need calling.

    Thanks in advance!

    Posted 11 years ago on Thursday June 21, 2012 | Permalink
  2. +1
    i have same problem!!
    submit function is don't work..

    Posted 11 years ago on Thursday January 3, 2013 | Permalink
  3. @TURKTECH, please post a URL where your form is embedded so we can see what is going on. Also, please explain what you have done already, what you want to happen and what is currently happening.

    Posted 11 years ago on Thursday January 3, 2013 | Permalink
  4. Hi,

    sample Url : http://www.egetuerk.de/v3/contact/

    i have too use ""Advanced Ajax Page Loader plugin" i have some problem with submit form datas..
    Please check it sample url

    Posted 11 years ago on Thursday January 3, 2013 | Permalink
  5. I see the example page and I see the form. Can you explain what is not working?

    Posted 11 years ago on Thursday January 3, 2013 | Permalink
  6. Hi,

    I'm having a similar problem. I am also using the AAPL plugin. My issue is as follows:

    I have a Gravity Form on a contact page. If I land straight on the contact page (such as typing in the URL), the form will submit via AJAX. All is good there.

    However, if I come to the page from another in the website, via ajax because of the AAPL plugin, the form will not submit - the page doesn't do anything at all.

    I believe this is because Gravity Form's scripts are not being reloaded for AAPL (typing in the URL it works because the scripts are called - coming from another page via ajax, they are not). AAPL has a textarea in its admin page to paste in reload scripts.

    I am wondering if anyone can tell me which Gravity Form JavaScript file(s) I would need to reload in order for the form to function properly?

    Any help would be great.
    Thanks!

    Posted 11 years ago on Wednesday April 10, 2013 | Permalink