<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: When enable conditional logic the form becomes hidden</title>
		<link>https://legacy.forums.gravityhelp.com/topic/when-enable-conditional-logic-the-form-becomes-hidden</link>
		<description>Gravity Support Forums Topic: When enable conditional logic the form becomes hidden</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 15:18:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/when-enable-conditional-logic-the-form-becomes-hidden" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "When enable conditional logic the form becomes hidden"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/when-enable-conditional-logic-the-form-becomes-hidden#post-24130</link>
			<pubDate>Tue, 26 Apr 2011 09:46:13 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">24130@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Vayu,&#60;/p&#62;
&#60;p&#62;My apologies. I completely forgot about the new enqueue method there.. it's much easier. Thanks to David for setting the old man straight. I'm glad everything's working for you now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Vayu on "When enable conditional logic the form becomes hidden"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/when-enable-conditional-logic-the-form-becomes-hidden#post-24118</link>
			<pubDate>Tue, 26 Apr 2011 05:32:52 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">24118@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David.&#60;/p&#62;
&#60;p&#62;I have now testet by placing the gravity_form_enqueue_scripts(2, true); above wp_head(); and that worked great.&#60;/p&#62;
&#60;p&#62;Thanks for helping! :-)&#60;br /&#62;
Vayu
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "When enable conditional logic the form becomes hidden"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/when-enable-conditional-logic-the-form-becomes-hidden#post-23754</link>
			<pubDate>Wed, 20 Apr 2011 12:19:15 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">23754@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Vayu,&#60;/p&#62;
&#60;p&#62;You are correct, &#60;strong&#62;gravity_form_enqueue_scripts()&#60;/strong&#62; is the new preferred way of loading the scripts; however, the old manual method will still work.&#60;/p&#62;
&#60;p&#62;Try adding &#38;lt;?php gravity_form_enqueue_scripts(); ?&#38;gt; above the wp_head() function in your header.php file, if the sidebar form will be on most pages.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Vayu on "When enable conditional logic the form becomes hidden"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/when-enable-conditional-logic-the-form-becomes-hidden#post-23743</link>
			<pubDate>Wed, 20 Apr 2011 09:20:47 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">23743@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Kevin.&#60;/p&#62;
&#60;p&#62;Thanks for your quick support.&#60;/p&#62;
&#60;p&#62;Here is how I embedded the form:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php gravity_form(2, false, false, false, null, true); ?&#38;gt;
&#38;lt;?php gravity_form_enqueue_scripts(2, true); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I thought the gravity_form_enqueue_scripts function fixed all that stuff?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "When enable conditional logic the form becomes hidden"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/when-enable-conditional-logic-the-form-becomes-hidden#post-23740</link>
			<pubDate>Wed, 20 Apr 2011 08:44:00 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">23740@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't see the conditional logic script being loaded in your page. How are you embedding your form in the page.. via the shortcode in the page editor or via the function call in the page template itself.&#60;/p&#62;
&#60;p&#62;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.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!is_admin()) {
    wp_enqueue_script(&#38;quot;gforms_ui_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/jquery-ui/ui.datepicker.js&#38;quot;, array(&#38;quot;jquery&#38;quot;), &#38;quot;1.4&#38;quot;, true);
    wp_enqueue_script(&#38;quot;gforms_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/datepicker.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.4&#38;quot;, true);
    wp_enqueue_script(&#38;quot;gforms_conditional_logic_lib&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/conditional_logic.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.4&#38;quot;, true);
    wp_enqueue_style(&#38;quot;gforms_css&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/css/forms.css&#38;quot;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Without this, the conditional logic scripts, datepicker script, form CSS and other elements needed for the full form functionality aren't loaded.&#60;/p&#62;
&#60;p&#62;You can find more information at the URL below&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also, be sure to check your theme has the wp_head() function in the header file and the wp_footer() function in the footer file. Both are necessary to load the form scripts &#38;amp; CSS.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Vayu on "When enable conditional logic the form becomes hidden"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/when-enable-conditional-logic-the-form-becomes-hidden#post-23736</link>
			<pubDate>Wed, 20 Apr 2011 07:47:10 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">23736@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I have an odd issue.  I have a contact form on this test site &#60;a href=&#34;http://sitefix.dk/temp/kontakt/&#34; rel=&#34;nofollow&#34;&#62;http://sitefix.dk/temp/kontakt/&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;I would like to use a drop down menu and based on the selection a new dropdown should apear.  However, when I select enable conditional logic on the second drop down, the entire form is hidden with inline css with display:none.&#60;/p&#62;
&#60;p&#62;What am I doing wrong?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Vayu
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
