<?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: HTML Block Conditional Logic Not Working</title>
		<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working</link>
		<description>Gravity Support Forums Topic: HTML Block Conditional Logic Not Working</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:32: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/html-block-conditional-logic-not-working" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-174466</link>
			<pubDate>Sun, 17 Mar 2013 17:23:21 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">174466@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You got the code from this post?&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/fieldsets#post-17019&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/fieldsets#post-17019&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The HTML field in Gravity Forms is inside a list item by default.  The code that Kevin provided for you in that post shows how to close the list item and list so you can add your own HTML and have that be outside the list items which are generated normally by Gravity Forms.&#60;/p&#62;
&#60;p&#62;It's tedious work to get right, but if you take one field at a time, I think you should be able to find the source of your problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bfinelsen on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-171458</link>
			<pubDate>Thu, 14 Mar 2013 18:21:26 +0000</pubDate>
			<dc:creator>bfinelsen</dc:creator>
			<guid isPermaLink="false">171458@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Going through the validation link you provided, I cleaned up what I could, but it appears as though gravity forms is erroneously adding closing tags where they are not needed or because the HTML block themselves are closing off the list and gravity forms is trying to do the same in order to create the fieldsets. If i gave you access to the admin, can you take a look to see what I might be doing wrong?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bfinelsen on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-171436</link>
			<pubDate>Thu, 14 Mar 2013 17:46:04 +0000</pubDate>
			<dc:creator>bfinelsen</dc:creator>
			<guid isPermaLink="false">171436@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I got the original code from here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/fieldsets&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/fieldsets&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The other solution you posted did not seem to work at all as far as putting a field set around the group I need. Not sure, I may be implementing it wrong.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-171295</link>
			<pubDate>Thu, 14 Mar 2013 12:31:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">171295@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would take a look at validating the markup on the page:&#60;br /&#62;
&#60;a href=&#34;http://validator.w3.org/check?verbose=1&#38;amp;uri=http%3A%2F%2Falltheyneedislove.org%2Fadoption-application%2F&#34; rel=&#34;nofollow&#34;&#62;http://validator.w3.org/check?verbose=1&#38;amp;uri=http%3A%2F%2Falltheyneedislove.org%2Fadoption-application%2F&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There are some problems with the closing of the list and list items.  &#60;/p&#62;
&#60;p&#62;Can you link to where you got that code from to open and close the list?  You're the second person today who has had a similar problem with adding fieldsets, and I want to check the original code to be sure that it does not contain an error.&#60;/p&#62;
&#60;p&#62;Also, this user today posted a solution to help with adding fieldsets to your Gravity Forms:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/field-groups#post-170538&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/field-groups#post-170538&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bfinelsen on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-171126</link>
			<pubDate>Thu, 14 Mar 2013 08:26:01 +0000</pubDate>
			<dc:creator>bfinelsen</dc:creator>
			<guid isPermaLink="false">171126@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David,&#60;/p&#62;
&#60;p&#62;I tried changing to single quotes instead of double and leaving the conditional logic, no change. I then left it as single quotes and removed conditional logic and still the same result. Sort of mind boggling. Any other thoughts or suggestions to try?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-170070</link>
			<pubDate>Wed, 13 Mar 2013 14:23:41 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">170070@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you please make sure you are only using single quotes in your HTML inside the block elements? If that doesn't fix it, can you try doing this without mixing conditional logic into the mix to confirm? If you load a form with the HTML blocks and whatnot without conditional logic, does it work as expected?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bfinelsen on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-170064</link>
			<pubDate>Wed, 13 Mar 2013 13:57:37 +0000</pubDate>
			<dc:creator>bfinelsen</dc:creator>
			<guid isPermaLink="false">170064@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any further suggestions to resolve this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bfinelsen on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-169094</link>
			<pubDate>Tue, 12 Mar 2013 19:18:14 +0000</pubDate>
			<dc:creator>bfinelsen</dc:creator>
			<guid isPermaLink="false">169094@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, so I followed that posts instructions and even with the Twenty Eleven theme and only the gravity forms plugin activated, it is still failing to work properly. Again, I'm only trying to show the HTML Block that creates a fieldset if certain conditions are met. The code for the first HTML block is (to close the UL and start the first fieldset):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;/li&#38;gt;&#38;lt;!-- close the html field li --&#38;gt;
&#38;lt;/ul&#38;gt;&#38;lt;!-- close the list --&#38;gt;

&#38;lt;fieldset id=&#38;quot;fieldset_1&#38;quot;&#38;gt;&#38;lt;!-- open the first fieldset --&#38;gt;
&#38;lt;legend&#38;gt;Pet 1:&#38;lt;/legend&#38;gt;
&#38;lt;ul id=&#38;#39;gform_fields_4&#38;#39; class=&#38;#39;gform_fields top_label description_below&#38;#39;&#38;gt;&#38;lt;!-- reopen the list --&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The second block would be (to close the first fieldset and open a second):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;/li&#38;gt;&#38;lt;!-- close the html field li --&#38;gt;
&#38;lt;/ul&#38;gt;&#38;lt;!-- close the list --&#38;gt;
&#38;lt;/fieldset&#38;gt;&#38;lt;!-- close the first fieldset --&#38;gt;

&#38;lt;fieldset id=&#38;quot;fieldset_2&#38;quot;&#38;gt;&#38;lt;!-- open the second fieldset --&#38;gt;
&#38;lt;legend&#38;gt;Pet 2:&#38;lt;/legend&#38;gt;
&#38;lt;ul id=&#38;#39;gform_fields_4&#38;#39; class=&#38;#39;gform_fields top_label description_below&#38;#39;&#38;gt;&#38;lt;!-- reopen the list --&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I would repeat the second block for as many fieldsets as needed and then use this following code to close the last field set and return back to the normal gforms:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;/li&#38;gt;&#38;lt;!-- close the html field li --&#38;gt;
&#38;lt;/ul&#38;gt;&#38;lt;!-- close the list --&#38;gt;
&#38;lt;/fieldset&#38;gt;&#38;lt;!-- close the second fieldset --&#38;gt;

&#38;lt;ul id=&#38;#39;gform_fields_3&#38;#39; class=&#38;#39;gform_fields left_label description_below&#38;#39;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;At this point, I'm at a loss, since I believe I'm following the directions to a &#34;T&#34;. Please help!&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-169001</link>
			<pubDate>Tue, 12 Mar 2013 14:35:06 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">169001@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So the HTML Block isn't showing despite having set conditional logic? What is the content of the HTML block? Also, the image you showed has some style issues. This usually means that there is some theme/plugin conflict. So can you also go through the following steps to confirm your issues aren't coming from a conflict? &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bfinelsen on "HTML Block Conditional Logic Not Working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-block-conditional-logic-not-working#post-168141</link>
			<pubDate>Mon, 11 Mar 2013 20:32:58 +0000</pubDate>
			<dc:creator>bfinelsen</dc:creator>
			<guid isPermaLink="false">168141@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In continuing to build a form for my site, I am running into a small snag (or at least I hope it's a small snag, regarding the conditional logic of several HTML blocks. As you can view on this page, &#60;a href=&#34;http://alltheyneedislove.org/adoption-application/&#34; rel=&#34;nofollow&#34;&#62;http://alltheyneedislove.org/adoption-application/&#60;/a&#62;, you will see 4 empty fieldsets. The logic works as so...The user clicks &#34;No&#34; for the Will this be your first pet question, then another field appears and asks them to select between 1 and 4 previous pets. Based on that number, the fieldsets with their associated fields would then appear. As it is right now, the fieldset stays, but the fields are working correctly.&#60;/p&#62;
&#60;p&#62;You can see in this screenshot, how I have setup the logic, and its the same logic I have applied to the fields that work correctly: &#60;a href=&#34;http://grab.by/kCjO&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/kCjO&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any ideas on how to resolve this?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
