<?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: Buttons &#38; conditional logic not functioning with Modal box</title>
		<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box</link>
		<description>Gravity Support Forums Topic: Buttons &amp; conditional logic not functioning with Modal box</description>
		<language>en-US</language>
		<pubDate>Fri, 03 Apr 2026 17:49:47 +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/buttons-conditional-logic-not-functioning-with-modal-box" rel="self" type="application/rss+xml" />

		<item>
			<title>danielpettifer on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21453</link>
			<pubDate>Fri, 25 Mar 2011 07:01:04 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">21453@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I updated from 1.5RC... to the new release, entered the code you specified and...so far so good, thanks again Carl! : )
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21387</link>
			<pubDate>Thu, 24 Mar 2011 15:13:21 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">21387@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can find directions on how to enqueue scripts in the documentation here: &#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;I suggest making sure you are using Gravity Forms v1.5 and then simply using the new enqueue function to enqueue the necessary scripts.  It's documented on that page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danielpettifer on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21369</link>
			<pubDate>Thu, 24 Mar 2011 14:10:53 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">21369@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Could you possibly tell me how to specifically enqueue the conditional logic. Do I need to insert code into the page template for each form? What is the code? Thanks again....
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21328</link>
			<pubDate>Thu, 24 Mar 2011 11:59:40 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">21328@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It sounds like not all the scripts are being enqueued (specifically the conditional_logic script) OR there could be a Javascript error.  Make sure the conditional_logic.js file is being enqueued and inspect the page using something like Firebug for FireFox to see if there is a Javascript error of some sort. A Javascript error will prevent the jQuery from executing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danielpettifer on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21308</link>
			<pubDate>Thu, 24 Mar 2011 11:02:27 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">21308@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, I have stumbled upon a new issue.&#60;/p&#62;
&#60;p&#62;I have the modal window set up and when it appears there is a page giving you two options, one option links to form A and one to form B.&#60;/p&#62;
&#60;p&#62;The page links ok and the forms are showing but they do not show at all if there is any conditional logic in the forms. Each form has it's own php template (identical to the plain page template but calling the individual forms through php). The scripts are enqueued for the each of the individual forms (depending on template). Is there something I am missing?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21023</link>
			<pubDate>Tue, 22 Mar 2011 08:04:31 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">21023@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The wp_head() call was intentionally omitted from that example so other unnecessary markup from other plugins, etc. wouldn't be inserted into the simple page template. I chose to simply hard-code paths to the forms CSS, etc. You could do the same with the paths to the conditional logic js, etc.&#60;/p&#62;
&#60;p&#62;If you're not concerned with other markup being added, then using the wp_head() function is fine too.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danielpettifer on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21014</link>
			<pubDate>Tue, 22 Mar 2011 04:15:26 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">21014@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In the plain page template you display on the tutorial there is no php call for wp_head. I have added this and everything seems to be working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danielpettifer on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21013</link>
			<pubDate>Tue, 22 Mar 2011 03:49:47 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">21013@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have enclosed line 36 within php tags and still it is not working. I have disabled all other plug-ins, including the slideshow on the front page but still no luck. I read everything I could find on your site but still can not see a solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danielpettifer on "Buttons &#38; conditional logic not functioning with Modal box"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/buttons-conditional-logic-not-functioning-with-modal-box#post-21000</link>
			<pubDate>Mon, 21 Mar 2011 22:36:39 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">21000@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I followed your tutorial to use the modal box to display a form. I used a simple form first which would not submit. I then tried to use conditional logic and this also will not work for me. I added the enqueue functions to my functions.php and I have called the form using php in the plain page template. I think I may have entered the enqueue function wrongly :(&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
 /*
 Template Name: plain page
 */
?&#38;gt;
&#38;lt;!DOCTYPE html PUBLIC &#38;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&#38;quot;
  &#38;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#38;quot;&#38;gt;
&#38;lt;html xmlns=&#38;quot;http://www.w3.org/1999/xhtml&#38;quot; xml:lang=&#38;quot;en&#38;quot; lang=&#38;quot;en&#38;quot;&#38;gt;
&#38;lt;head&#38;gt;
  &#38;lt;meta http-equiv=&#38;quot;Content-type&#38;quot; content=&#38;quot;text/html; charset=utf-8&#38;quot; /&#38;gt;
  &#38;lt;meta name=&#38;quot;MSSmartTagsPreventParsing&#38;quot; content=&#38;quot;true&#38;quot; /&#38;gt;
  &#38;lt;meta http-equiv=&#38;quot;Imagetoolbar&#38;quot; content=&#38;quot;No&#38;quot; /&#38;gt;
  &#38;lt;title&#38;gt;My Form Title&#38;lt;/title&#38;gt;
  &#38;lt;style type=&#38;quot;text/css&#38;quot;&#38;gt;
  	body {font-size:13px;}
  &#38;lt;/style&#38;gt;
  &#38;lt;link rel=&#38;#39;stylesheet&#38;#39; id=&#38;#39;gforms_css-css&#38;#39;  href=&#38;#39;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;); ?&#38;gt;/wp-content/plugins/gravityforms/css/forms.css?ver=3.0.1&#38;#39; type=&#38;#39;text/css&#38;#39; media=&#38;#39;all&#38;#39; /&#38;gt;
  &#38;lt;script type=&#38;#39;text/javascript&#38;#39; src=&#38;#39;&#38;lt;?php bloginfo(&#38;#39;stylesheet_directory&#38;#39;); ?&#38;gt;/includes/js/jquery-142.js?ver=1.4.1&#38;#39;&#38;gt;&#38;lt;/script&#38;gt;
  &#38;lt;script type=&#38;#39;text/javascript&#38;#39; src=&#38;#39;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;); ?&#38;gt;/wp-content/plugins/gravityforms/js/conditional_logic.js?ver=1.3.13.1&#38;#39;&#38;gt;&#38;lt;/script&#38;gt;
  &#38;lt;/head&#38;gt;
&#38;lt;body&#38;gt;
  &#38;lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&#38;gt;
  &#38;lt;?php the_content(&#38;#39;read more&#38;#39;); ?&#38;gt;
  &#38;lt;?php endwhile; endif; ?&#38;gt;
  gravity_form_enqueue_scripts(4,true);
  &#38;lt;?php gravity_form(4, false, false); ?&#38;gt;
  &#38;lt;?php wp_footer(); ?&#38;gt;
&#38;lt;/body&#38;gt;
&#38;lt;/html&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Please let me know what you think I should do. Here is a link to the site, please ignore the absolute mess it is undergoing a lot of changes &#60;a href=&#34;http://www.docsense.net/&#34; rel=&#34;nofollow&#34;&#62;http://www.docsense.net/&#60;/a&#62; click the let's get started button to open the modal window. Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
