Please Note: We are no longer using forums to facilitate standard support. 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.

Ajax Stopped Functioning

  1. Hello,

    Just updated to latest version of Gravity forms (1.6.3) and the Ajax no longer responds when a required field is not filled out.

    Please advise.

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  2. Actually, the form just stopped working. Even with the required fields, the form doesn't send the data to Paypal.

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  3. Okay, now I'm in panic mode. All forms across the site no longer work. Please advise ASAP. Else, please give me a way to revert to previous version of Gravity Forms.

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  4. Richard Vav
    Administrator

    Is the form working when previewed from the form editor in admin? Also what version of wordpress are you running and can you post a link to the page containing the form on the front end.

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  5. Okay, franticaly trying to debug. Here's a page to one of the forms:

    http://www.aur.edu/american-university-rome/2012/02/study-abroad-for-summer-2012/

    This one should redirect to the following URL once it is sent:

    http://www.my.aur.it/ics/Summer_Studyabroad/Default_Page.jnz?portlet=Apply_Online_2.0&screen=Display+Form&screenType=next

    No redirect. HOWEVER, the email is sent (which is good because we don't lose the contact!).
    No Ajax.

    Please help.

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  6. Form DOES redirect in preview mode from the admin.
    Form DOES show error CSS when required fields are not filled out.

    What does this mean?

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  7. Richard Vav
    Administrator

    If you disable Ajax on the short code that embeds the form on the page does the form now work as expected?

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  8. Sorry, you also asked for the version:

    "You are using WordPress 3.3.1. "

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  9. Yes! Setting ajax="false" fixed the problem, though not ideal, because if a required field isn't filled out, the page refreshes to the top and not to the form at the bottom... so the visitor doesn't see there is an error unless they scroll down. (You can see following the link to the form above.)

    What now?

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  10. Richard Vav
    Administrator

    Re-enable Ajax and then follow the recommendations on the following page to identify if your theme or another plugin could be interfering with the Ajax submit

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 3 years ago on Thursday February 23, 2012 | Permalink
  11. Yes, checking for conflicts by switching themes and turning off all widgets might be an option if I had a sophisticated sandbox set up for the live site. The problem is I do not; hence all "tests" would be live and as this a university website with the Hybrid News Theme and 70 + widgets, I can't do that.

    I'm sure I'm failing a "best practice," however, all things were working fine prior to version 1.6.3 release. As such, it seems the onus should be on the update--and not the website itself--to have the means to identify the conflict, and not the other way around.

    This update was real kick in the teeth. I expect better from Gravity Forms.

    I have reverted to version 1.6.2 until it is clear that the newer version is fully functional and reliable.

    Posted 3 years ago on Friday February 24, 2012 | Permalink
  12. Same problem here. Ajax is no longer working after updating to 1.6.3.1. The form is sent, but there is no feedback for the user unless you set Ajax to "false". Going back to 1.6.2 fixes it.

    Posted 3 years ago on Monday February 27, 2012 | Permalink
  13. I am looking at this issue now and will let you know when I have a fix for it

    Posted 3 years ago on Monday February 27, 2012 | Permalink
  14. I am having trouble replicating this issue. AJAX forms are working fine on my local environment. If you can send me (alex@rocketgenius.com) the link to your site and a WP admin login, I will be glad to take a closer look and find out exactly what is causing the issue. Please include a link to this thread.

    Posted 3 years ago on Monday February 27, 2012 | Permalink
  15. I have made a change to the way Gravity Forms performs AJAX (in 1.6.3.1) in an attempt to resolve some of these conflicts with AJAX forms. If you are having problems with an AJAX form, please email me at alex@rocketgenius.com and I can send you a version with the fix.

    Posted 3 years ago on Monday February 27, 2012 | Permalink
  16. globallweb
    Member

    I'm still facing this issue... why isn't there already a fix?
    1.6.3.1.2 didn't work for me

    Posted 3 years ago on Monday March 5, 2012 | Permalink
  17. OMG! Finally I found people here with the same problem as me. Ajax stop working since the last plugin update. And no, there is nothing related to the theme we're using. It used to work until now.

    I made a test form you can check it here: http://www.happines.net/test-form
    (text in red is the error debugged by firebug)
    Using Activity window on Safari to trace the submit action it shows the following error:
    "http://happines.nethttp//happines.net/wp-content/themes/catalyst/js/jquery.js"
    So I guess there is a sintax error in some script trying to call jquery.js in the wrong place.

    I hope this looks clear for you to help us.

    Posted 3 years ago on Monday March 5, 2012 | Permalink
  18. @hypergolica
    It looks like your forms is working with ajax enabled. How did u make it?

    Posted 3 years ago on Monday March 5, 2012 | Permalink
  19. @sebasg,
    Which version of Gravity Forms are you running? We have released an update (1.6.3.1.2) that has a fix for some of these AJAX issues. You can download it from our downloads page. http://www.gravityhelp.com/downloads/
    If that version does not fix your issue, i can take a closer look at your site.
    Cheers.

    Posted 3 years ago on Monday March 5, 2012 | Permalink
  20. @alex, i'll really apreciate your help. Upgrading did not work.
    Forms online works in preview mode.

    Posted 3 years ago on Monday March 5, 2012 | Permalink
  21. @sebasg, I went back to 1.6.2 to fix the problem.

    @alex, I am grateful for your help! However, I've got this on a live site with multiple forms, so I've got to know the fix is confirmed before doing further updates. I am sorry for this as I know it isn't a help to you if you can't directly inspect the problem.

    It does look like others are experiencing it as well... hopefully you'll get direct access to one of them to better understand.

    Posted 3 years ago on Wednesday March 7, 2012 | Permalink
  22. Hi,
    I got the same problem. http://theseoreseller.net/test-page here I added two form.
    1. Hidden after adding conditional logic.
    2. total price is not working.

    I disabled my theme and it's working perfectly.
    I am using http://themeforest.net/item/udesign-wordpress-theme/full_screen_preview/253220
    this theme.
    Any one can help me?

    Posted 3 years ago on Thursday March 8, 2012 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only