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.

Form Not showing if any field

  1. dymon85

    My form is not showing, if any of the field has the "Enable Conditional Logic (?)" check box enabled? driving me mad. I've checked the demo admin page for the sample conditional logic form and none of the fields had conditional logic enable ? Please somebody help urgently.

    Posted 12 years ago on Friday July 23, 2010 | Permalink
  2. Are you using the shortcode or the function call to embed your form, or perhaps a widget?

    If you're using a shortcode, make sure your theme has the wp_head() function call in the header.php file and the wp_footer() function included in your footer.php file. Gravity forms uses those functions to add the necessary scripts for conditional logic.

    When using a Gravity Form in a sidebar widget or embedding it anywhere using the function call, you need to manually enqueue the scripts and CSS by placing a short script block in your theme's functions.php file.

    wp_enqueue_script("gforms_ui_datepicker", WP_PLUGIN_URL . "/gravityforms/js/jquery-ui/ui.datepicker.js", array("jquery"), "1.3.9", true);
    wp_enqueue_script("gforms_datepicker", WP_PLUGIN_URL . "/gravityforms/js/datepicker.js", array("gforms_ui_datepicker"), "1.3.9", true);
    wp_enqueue_script("gforms_conditional_logic_lib", WP_PLUGIN_URL . "/gravityforms/js/conditional_logic.js", array("gforms_ui_datepicker"), "1.3.9", true);
    wp_enqueue_style("gforms_css", WP_PLUGIN_URL . "/gravityforms/css/forms.css");

    Without this, the conditional logic scripts, datepicker script, form CSS and other elements needed for the full form functionality aren't loaded.

    You can find more information at the URL below

    Posted 12 years ago on Friday July 23, 2010 | Permalink
  3. dymon85

    page.php looks like this <?php get_header(); ?>
    <div class="page_title">
    <div class="page_title_inner">
    <div class="wrap"><h1><?php the_title(); ?></h1></div>
    <div class="content" >
    <div class="wrap">
    <?php require_once('loop.php'); ?>
    <?php get_footer(); ?> how to and where to place those two functions you've mentioned?

    Posted 12 years ago on Friday July 23, 2010 | Permalink
  4. wp_head()
    Goes in the <head> element of a theme, in header.php

    Goes in footer.php, just before the closing </body> tag

    Posted 12 years ago on Friday July 23, 2010 | Permalink