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.

1.6.6 Not Working!

  1. Just updated to 1.6.6 and contact form is not working. Not working meaning the submit button does nothing. Where can I download 1.6.5 which was working?

    Your forms are always a HUGE headache when updating,

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  2. Downloading Gravity Forms v1.6.5 is not the solution. The solution is working with our support team to resolve the issue is the solution and if you can post a link to a page containing a form where you are experiencing this issue we can take a look and see what is going on.

    Nothing with how forms submit was changed in the v1.6.6 release. Typically when a submit button is not working it's due to CSS or JS being output in a theme or another plugin that causes this issue. It's difficult to say for sure without looking at it. Either way it's usually something simple.

    We have no control over the theme you are running or other plugins you are running and unfortunately due to how WordPress is architected there is nothing we can do to prevent other code on your site from interfering with Gravity Forms functionality. That's the nature of the beast that is WordPress, PHP and Javascript. This is compounded by the fact that there are a vast number of poorly developed themes and plugins out there... and users typically have no way to distinguish what is good and what is bad from a code perspective.

    Post a link to a page containing a form that is experiencing the issue you are describing and we can take a look and see why the form is not submitting.

    Is the site you are experiencing this issue on your http://www.pedalconsumption.com/contact/ site? If so, you have javascript errors on that site that would break form functionality. See this screenshot:

    http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202012-08-30%20at%202.31.55%20PM.png

    If you have AJAX enabled on a form you are displaying on this page, those javascript errors would prevent the AJAX from executing which would cause the form not to submit as you have described.

    Javascript errors will cause your browser to quit executing javascript once they are encountered and can break Gravity Forms functionality. You have javascript errors occurring on that site and they are NOT Gravity Forms related. This could be the cause of your issue, not the update.

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  3. In the time being... reverting back to 1.6.5 was the easiest solution for me and it's now working.

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  4. As I mentioned, rolling back is not a good solution. You should run the latest version of the plugin not just for feature reasons (this release introduces no new features) but for security and bug fix reasons. We are more than willing to work with you to correct whatever is causing your issue, but we'd have to see the issue happening in order to be able to see what is going on.

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  5. I just updated to 1.6.6 without changing anything else on my site, and this did the same thing to me! There is no confirmation, animation, redirection, or anything at all when someone clicks the "submit" button, so I'm getting dozens of inquiries for each individual trying to hit send. Please fix! pdl_consumptior, can you tell me how to revert back to 1.6.5 for a quick fix???

    Thank you!

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  6. Here's my current (broken) contact page: http://www.snapcubby.com/contact-us/

    If you hit "Send it!" and nothing happens, please don't keep hitting it... I get an email ever time.

    I'm using the latest Safari browser

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  7. Does this happen when you submit a form from the formbuilder preview window?

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  8. No, it works fine there. It worked fine on my page before the update though, so if the problem is my website, then I'm assuming I should go back to the previous version.

    At the same time, using any conditional logic forced my contact page to disappear after an update a while back, so I may as well go even further back in versions. Everything used to work just great. Seems like my own site gets blamed for the new incompatibility issues with your updates.

    I appreciate your help with this.

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  9. When a form with conditional logic fails to display, it's due to a JavaScript or jQuery error. The form not displaying is a consequence of the error. The jQuery and JavaScript errors can be traced to multiple jQuery versions being loaded, wrong jQuery version being loaded, jQuery not being loaded, or theme or plugin conflicts. You can find theme and plugin conflicts by following the instructions found here http://rkt.gs/testing.

    I see a couple JavaScript errors on your page right now:

    Timestamp: 8/30/2012 8:55:45 PM
    Error: SyntaxError: syntax error
    Source File: http://www.snapcubby.com/contact-us/
    Line: 69, Column: 22
    Source Code:
                autoplay: ,
    Timestamp: 8/30/2012 8:55:45 PM
    Error: SyntaxError: illegal character
    Source File: http://www.snapcubby.com/contact-us/
    Line: 301, Column: 1057
    Source Code:
    function gformInitSpinner_4(){jQuery('#gform_4').submit(function(){jQuery('#gform_submit_button_4').attr('disabled', true).after('<' + 'img id="gform_ajax_spinner_4"  class="gform_ajax_spinner" src="http://www.snapcubby.com/wp-content/plugins/gravityforms/images/spinner.gif" alt="" />');jQuery('#gform_wrapper_4 .gform_previous_button').attr('disabled', true); jQuery('#gform_wrapper_4 .gform_next_button').attr('disabled', true).after('<' + 'img id="gform_ajax_spinner_4"  class="gform_ajax_spinner" src="http://www.snapcubby.com/wp-content/plugins/gravityforms/images/spinner.gif" alt="" />');} );}jQuery(document).ready(function($){gformInitSpinner_4();jQuery('#gform_ajax_frame_4').load( function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_4');var is_redirect = contents.indexOf('gformRedirect(){') >= 0;jQuery('#gform_submit_button_4').removeAttr('disabled');if(form_content.length > 0 && !is_redirect){jQuery('#gform_wrapper_4').html(form_content.html());jQuery(document).scrollTop(jQuery('#gform_wrapper_4').offset().top);if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_4').val();gformInitSpinner_4();jQuery(document).trigger('gform_page_loaded', [4, current_page]);}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('#gforms_confirmation_message').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_4').replaceWith('<' + 'div id=\'gforms_confirmation_message\' class=\'gform_confirmation_message_4\'' + '>' + confirmation_content + '<' + '/div' + '>');jQuery(document).scrollTop(jQuery('#gforms_confirmation_message').offset().top);jQuery(document).trigger('gform_confirmation_loaded', [4]);}, 50);}else{jQuery('#gform_4').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger('gform_post_render', [4, current_page]);} );} );

    Character 1057 in that block of code starts here:

    &# 038 ;&

    (spaces added to allow it to be displayed here)

    It's possible another plugin is modifying the Gravity Forms plugin output and that is causing the error.

    Posted 12 years ago on Friday August 31, 2012 | Permalink
  10. lfbp
    Member

    I have the same problem and nothing is modifying the Gravity Forms code. There is a problem within the gravity forms function gformInitSpinner_1()

    SyntaxError: illegal character
    'disabled');if(form_content.length > 0 && !is_redirect){jQuery('#gform_wrap...

    Posted 12 years ago on Saturday September 1, 2012 | Permalink
  11. lfbp
    Member

    My solution is to set ajax="false" until I am able to take down the entire site for maintenance to determine where the conflict is.

    Posted 12 years ago on Saturday September 1, 2012 | Permalink
  12. That's a good work around for now. We are checking into the issue to see if we can recreate it. Thank you.

    Posted 12 years ago on Sunday September 2, 2012 | Permalink
  13. I have the same problem with Ajax after update. :( Before update everything was working fine.

    You can see it here:
    http://marzycielskapoczta.pl/pomoc/

    There is some error related to "Front-end Editor" plugin there:

    (SyntaxError: illegal character
    ...'disabled');if(form_content.length > 0 && !is_redirect){jQuery('#gform_wrap...

    I tried to disable "Front-end Editor" plugin but problem was still present. Please, help us...

    Posted 12 years ago on Sunday September 2, 2012 | Permalink
  14. I have a problem too, the form just does not work with ajax='true'
    http://privilegge.com/site/modelo-hoteis/

    Posted 12 years ago on Sunday September 2, 2012 | Permalink
  15. please give us 1.6.5 version. I have no time to looking for a solution :(

    Posted 12 years ago on Sunday September 2, 2012 | Permalink
  16. I did not see a Gravity Form on this page: http://privilegge.com/site/modelo-hoteis/ - can you post the link to the page where the problem exists with the Gravity Form?

    Because it is the holiday weekend and support is closed, you will have to check back on Tuesday for a fix to this problem. In the meantime, please deactivate AJAX and see if your form will work. Sorry for the inconvenience.

    You can also check for theme and plugin conflicts by following these instructions: http://rkt.gs/testing

    Posted 12 years ago on Monday September 3, 2012 | Permalink
  17. here is the link for a test page: http://privilegge.com/site/teste/

    All forms were ok but since I updated the plugin to 1.6.6 version, the ajax functionality is not working.

    Posted 12 years ago on Monday September 3, 2012 | Permalink
  18. I have the same exact problem.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  19. URL to your site please vitizo. Thank you.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  20. http://vitizo.com/ppc-and-display-marketing-bronze-sign-up/

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  21. I'm also getting the same issue. It appeared to happen when I upgraded to the new version too. Updates would be appreciated. FYI, the form page is
    http://moorlandguides.co.uk/mg2013/add-a-walk/
    It is a demo site at the moment so no rush!

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  22. Thank you for these reports. We're checking into it.

    Please start by checking for theme and plugin conflicts http://rkt.gs/testing.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  23. My site is doing the exact same thing. With ajax="true" is set the submit is entering the data into the database, but not redirecting or showing a confirmation message. Setting ajax="false" fixes the problem. What I seeing from others here is that 1.6.5 worked great, but 1.6.6 broke some line in JQuery. I just follow this thread to see if there are any updates. Thanks

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  24. Thank you CBCEducation for that fix! I've been fighting this thing like crazy... That did the trick. Not sure why, but it worked. I still can't put any conditional logic in, and I don't know how to decipher what code is throwing it off, so I'll live without that for now.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  25. Please see this response from Carl Hancock on why this is occurring with 1.6.6 and not before:

    http://www.gravityhelp.com/forums/topic/after-upgrate-to-latest-in-august-28-2012-i-have-multiple-duplicate-entries?replies=9#post-74016

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink
  26. This is NOT something that 1.6.6 broke in jQuery.

    It's being caused by other code on your site manipulating the shortcode output and escaping an ampersand character in the AJAX output that should NOT be escaped... which causes a javascript error to occur.

    This does not happen on a default WordPress install with the default theme and no other plugins activated. Which means it is a theme or plugin conflicts.

    This is an issue being caused by a theme or plugin conflict. As Chris mentioned above you need to test for theme and plugin conflicts to determine where the problem is coming from by following these instructions: http://rkt.gs/testing

    If you can report back to us and tell us what the source was, we can then work with you to determine how to resolve it.

    Until a user can report back to us and tell us what the source is... we can't help you with this because we can't recreate it locally. It's an issue being caused by BAD code in a theme or plugin that is running on your site... NOT Gravity Forms itself.

    So PLEASE. Follow the theme/plugin conflict resolution test instructions and get back with us to know the results so we can work with you to resolve it.

    IMPORTANT NOTE: If you are using a ThemeForest theme? That should be a red flag. Chances are it's coming from your theme, so i'd start there when doing the conflict test. ThemeForest themes are notoriously bad when it comes to causing plugin conflicts because the majority of the ThemeForest developers have NO clue what they are doing.

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink
  27. All: please begin troubleshooting by checking for theme and plugin conflicts. The common characteristic of most (if not all) of these problems with 1.6.6 appears to be the use of a Themeforest theme. Please see if you have problems with the Twenty Ten or Twenty Eleven theme before creating your own topic.

    Anyone having this issue with the default WordPress theme should start their own topic, and include a link to their own site so we can take a look and help you troubleshoot individually.

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink
  28. As a follow up to my post above and my comments on ThemeForest...

    ALL of the sites i've tested via the URL's provided by people that have encountered this issue are using ThemeForest themes. So this is a conflict caused by a theme developers who doesn't know what they are doing and are manipulating shortcode output... causing a javascript error in the process.

    You can verify this by switching your site to the default WordPress theme and then testing your form.

    If someone who is experiencing this issue and are using a ThemeForest theme can email me directly at carl@rocketgenius.com and send me over the theme zip file for the ThemeForest theme they are using i'll be glad to take a look at it and narrow down what in the theme is causing the issue.

    From that we can also see why it happens and if there is something we can change on our end to get around the fact that ThemeForest theme developers have no business selling themes because they don't know what they are doing.

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink
  29. Another update... the cause of this issue is the RAW shortcode that seems to be so popular with ThemeForest theme developers who are completely clueless. This code changes core WordPress behavior and negatively impacts your site. It's this code that is causing the javascript error that is causing this problem.

    Here's a screenshot of an example of the offending code that came from the "Striking" theme sold by ThemeForest:

    http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202012-09-05%20at%203.54.41%20PM.png

    This code causes the javascript error when AJAX is enabled because it changes default WordPress behavior. By default WordPress does NOT auto-format shortcode output. This code changes this behavior and tells WordPress to auto-format ALL shortcode output. The end result is Gravity Forms does not behave the way it is designed and a javascript error is caused.

    Unfortunately due to the way WordPress works there is nothing we can do to prevent conflicts such as this from happening. We can't control what a theme does and can't prevent it (or another plugin) from breaking functionality or changing core WordPress behavior.

    All we can do is help users who encounter these issues as they come up. It's too bad we are the ones that end up having to provide you with support when ultimately the cause of the problem is a theme developer who doesn't know what they are doing.

    Here's a tip... don't buy themes from ThemeForest.

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink
  30. We have released Gravity Forms v1.6.7 which implements a work around for this ThemeForest theme issue. As mentioned above, this issue is caused by poorly developed ThemeForest themes that incorporate code that changes core WordPress behavior.

    If you are encountering this issue, update to Gravity Forms v1.6.7 and it should resolve the issue. Be sure to refresh your browser cache after doing so.

    If you encounter this issue after updating, create a new support forum post and report your issue as it's probably unrelated to the issue above.

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink

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