Hi Carl, Kevin and Co.
I'm having a problem similar to the one that Armin was having - found on this thread: http://www.gravityhelp.com/forums/topic/another-conditional-logic-problem - and I'm hoping you guys could help out?
Things you'll need to know:
- Problem page: http://redalert.iceafrica.org/
- This is the homepage for the site (though just a development URL right now)
- There should be a form visible under the h2 heading - Request a quotation
- I placed the content and called the form for this section into a content block (custom post widget) which sits in turn in a custom sidebar
- You'll see, by viewing the page source, that Gravity Forms conditional logic script simply doesn't load (/wp-content/plugins/gravityforms/js/conditional_logic)
- Page where problem doesn't exist: http://redalert.iceafrica.org/test-form/
- This is a simple page, and the page content calls the form
- You'll see, by viewing the page source, that Gravity Forms conditional logic does load...
- ...and so the form works
Things I have already tried to fix the problem:
- I moved the wp-head around as Armin indicated this helped his problems. - No luck.
- I tried loading jquery manually rather than loading via functions.php - that's clearly not the problem.
- I tried removing my own two lots of jquery calls (jquery.nivo.slider.pack.js and jquery-calls.js) from my header.php - that makes no difference either.
- These two files aren't loaded in the test-form page
- To make triply sure it wasn't these two scripts, I placed all my jQuery functions in no-conflict mode using (jQuery.noConflict) and $j as my jquery shortcut. Still, no dice.
- Then, lastly, I added another test page, similar to the first test page (which works). But this time, in the right-hand-side sidebar I added the problem widget content...
- ...and you'll see that even though the form is available in the page content, AND the conditional logic js is loaded, the form in the sidebar will not load.
I've got a feeling the problem comes in the the fact that the form is loaded into the custom post widget. Though this works when conditional logic is not called. And even though the script is called on the another-test-form page, the form doesn't load in the widget.
I realise this is long-winded, but I thought I'd be thorough before posting.
Let me know what you'd need in order to help me?
Thank you in advance for any help and/or suggestions.
Cheers
Jon