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.

another conditional logic problem :(

  1. HI,

    I have searched all over the forum for this issue, I have a problem that i know is theme related in which when i activate conditional logic it the form does not show on the page, when switched off all is good...

    I have read the same issues through out your forum but I cant seem to find a solution.
    When inserting wp footer in the footer page nothing happens and I loose my footer all together. I have tried numerous alternative locations with no result.

    I dont know if i'm doing something silly or it might be conflicting with the superfish plugin that someone else wrote about..

    I set up a test page here http://mataconcepts.com/?page_id=684
    The actual site i'm working on is set up offline, though it should represent the same issue.

    Help and advice would be greatly appreciated

    cheers,

    armin

    Posted 14 years ago on Friday March 26, 2010 | Permalink
  2. Your theme looks like it is missing the wp_head() function call in the theme header.

    This function call allows plugins to insert code into the head. This is necessary for Gravity Forms to include the necessary javascript.

    You can read more about wp_head() on this page:

    http://codex.wordpress.org/Theme_Development

    Posted 14 years ago on Friday March 26, 2010 | Permalink
  3. HI carl,

    Thanks for the fast reply, i did check my header and the wp_head function call is there..
    any other suggestions?

    Posted 14 years ago on Saturday March 27, 2010 | Permalink
  4. We would need access to the site to take a look. You can send us a WordPress Admin login via our Contact Us form.

    It is theme related. If your theme was working properly you would see a call to a javascript file called conditional_logic.js, and it is not present which means something isn't configured properly with your theme.

    The hook that Gravity Forms uses to place this JS within your theme is a built in WordPress hook. So it isn't doing anything custom. It is using a built in WordPress function that isn't working with your theme.

    Posted 14 years ago on Saturday March 27, 2010 | Permalink
  5. The form works if the correct script/css references are inserted into the head section properly

    <link rel='stylesheet' id='gforms_css-css'  href='http://mataconcepts.com/wp-content/plugins/gravityforms/css/forms.css?ver=2.9.2' type='text/css' media='' />
    <script type='text/javascript' src='http://mataconcepts.com/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
    <script type='text/javascript' src='http://mataconcepts.com/wp-content/plugins/gravityforms/js/conditional_logic.js?ver=1.3.11'></script>

    There is something odd going on with the theme itself.

    I copied the demo page markup and did a test - adding the correct script references. You can see my test page here

    I think this could be related to how you're loading jQuery in the theme or even possibly the placement of the wp_head() tag in the head.

    Posted 14 years ago on Saturday March 27, 2010 | Permalink
  6. HI,

    Thank you! it was the location of the wp_header function. It was right at the end of all the scripts I moved it higher and everything was working fine.

    This also made another plugin that I was having trouble with working..

    Thank you,

    Armin

    Posted 14 years ago on Saturday March 27, 2010 | Permalink
  7. Awesome. Glad you got it working. Thanks for the update.

    Posted 14 years ago on Saturday March 27, 2010 | Permalink

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