The 2nd Update that was pushed out today still didn't fix the bug with showing my forms with conditional logic.
The 2nd Update that was pushed out today still didn't fix the bug with showing my forms with conditional logic.
We're looking into it. Thanks for the patience! Can you supply any more information for us, a link to your form even?
I actually send you an email from cfinley@pjhchicago.com with my username and password if you need any admin access.
http://pjhchicago.com/hubbardstreetar That's a link to one of the forms with conditional logic that is not working.
http://pjhchicago.com/hubbardstreetdance The form on this page works fine because it doesn't have CL on it.
After this update my form is still hidden, but after manipulating the DOM so it displays, I'm getting a js error when I try to click a radio button that has conditional logic applied to it:
Uncaught TypeError: Cannot read property '10' of undefined
this is in line 20 of conditional_logic.js
var conditionalLogic = window["gf_form_conditional_logic"][formId]["logic"][fieldId];
I concur with @hardseatsleeper that the form is still hidden after 1.6.4.1 release. However, applying his fix with this code in my page will show my form.
<style>
.gform_wrapper {
display: block !important;
}
</style>
I just discovered that something in my template was hijacking
php wp_head();
in the head, which allows plugins to attach scripts to the page. Looks like this was preventing gravityforms from adding what it needed to the page. I fixed this and my form is working.
I was using GF 1.6.3 on domain x and successfully added some forms (with conditional logic) and got it working. I installed GF 1.6.3 on domain Y too and performed an automatic upgrade to GF 1.6.4.1 Next I exported one GF form from domain x and imported it on domain Y. GF says it was successful in importing the form and it is in the list of GF forms. When I click on the form to edit it, nothing will happen (no menu on the right). I tried to add a new form on domain Y, and also that doesn't work.
Please everyone make your own threads with questions or issues because it becomes very difficult to track who we've helped and have conversations with each of you to address your issues.
It looks worse. I'm not able to edit pages anymore after upgrading to 1.6.4.1. Help! Posts can still be edited.
I started this thread and my forms are still not working.
Chris, our developer is looking at your issue. I've given him the login details you sent.
First off... to ALL users reading this thread. DO NOT start adding code to your site to try and fix this issue. You can end up making things extremely hard to debug if you do so. This is directed at @chinoh who is discussing adding CSS to display the form... this isn't a "fix"... and it is just going to cause issues in allowing us to help you resolve any issues. It can make things worse. DO NOT DO THIS.
@CharityFinley Your issue is not being caused by a bug or problem in Gravity Forms v1.6.4 or v1.6.4.1. Your issue is being caused by javascript issues on your site.
The first issue is the version of jQuery your site is loading... it's not using the version of jQuery that comes with WordPress (v1.7.1) and is instead loading a very old version of jQuery (1.5.1). This is BAD. Themes and plugins should ALWAYS use the version of jQuery that comes with WordPress. Otherwise, it makes it difficult to maintain compatibility. See this screenshot:
You need to update your theme so that it is using jQuery v1.7.1. Plugins expect the version of jQuery that comes with WordPress... not something else.
The second issue is WHERE did you put the display: block !important; styles that @chinoh mentioned above? What file did you put it in? We can't find it... but wherever you placed it is incorrect and it's triggering a javascript error. See this screenshot:
https://skitch.com/carlhancock/8adfi/hubbard-street-dance-chicago-attendee-request
Where did you place this code? As I mentioned above, users should not do this. It's causing more problems than it is fixing.
Remove it wherever you have placed it, and fix your theme so it is using the correct version of jQuery and if those are done correctly it should resolve the issue you are encountering.
@daanvb The first thing you need to do whenever you update to a new version of any plugin (or theme) is complete clear your browser cache, restart your browser and then try to do what you were trying to do. The new version uses new scripts. If your browser is loading cached scripts... it won't work properly. Clear your cache.
TO ALL USERS READING THIS THREAD
Please create and post your own support forum issue. There are multiple people posting in this thread and each of their issues are DIFFERENT and NOT RELATED.
Please do NOT assume your issue is the same as another users just because they sound like they are the same. ALWAYS post your own support forum post when you need assistance.
I did remove it already. My forms were working just fine until the updates this morning.
I did just pay for another year of support and updates. I would love it if that money can go toward fixing my issue and not seeming so harsh and placing blame elsewhere. Like I said everything worked fine until the updates rolled out this morning.
@CharityFinley I'm not laying blame. I am providing support, have troubleshooted your issue and telling you what the problem is.
The root cause of your issue is Gravity Forms v1.6.4 makes use of functionality in jQuery v1.7.1 which is what WordPress comes with and what Gravity Forms is expecting to be there. All themes and plugins should be using the same version of jQuery as WordPress itself.
Your theme is NOT using the version of jQuery that comes with WordPress. It is instead loading an OLD version of jQuery from Google's jQuery API, v1.5.1, which is not what WordPress uses. Here is a screenshot of the script call on your site:
Because your theme is not loading jQuery v1.7.1 and Gravity Forms v1.6.4 is trying to use a function that exists in v1.7.1... it is triggering javascript errors. The function it is using does not exist in jQuery v1.5.1 which is what your theme is loading.
The reason why the old version of Gravity Forms did not have this issue is because it did not use a jQuery v1.7.1 specific function. This is why you only encountered the issue after updating to Gravity Forms v1.6.4+.
I fixed your theme and updated it to use jQuery v1.7.1. See these screenshots:
Before:
https://skitch.com/carlhancock/8adkd/edit-themes-wordpress
After:
https://skitch.com/carlhancock/8adkk/edit-themes-wordpress
It is now working for us in some browsers. HOWEVER not all... the next issue is being caused by wherever you placed the style code that @chinoh posted above. Where in your theme did you put this code? We can't find it, but we see it's triggering a javascript error. See this screenshot:
http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202012-05-01%20at%201.01.54%20PM.png
Where did you put that code?
I already took it out. I had it in the file he stated for GF. Thank you for fixing the issue. I also installed a JQuery updater myself.
@CharityFinleyfire Great, it appears it is working fine now. The issue what the style code you added is it wouldn't go in the js file, it would go in a stylesheet. So that was causing a javascript error. After removing that, and correcting the version of jQuery your theme was using... the form appears to be working good now. Good to see.
The original posters issue was resolved. It was an issue with the version of jQuery being used by the theme and not an issue with Gravity Forms v1.6.4 or v1.6.4.1 itself.
If you are encountering an issue, please post your own support request so that we can assist you because your issue is not going to be the same as the original posters.