<?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: Paragraphs showing up in conditional logic javascript</title>
		<link>https://legacy.forums.gravityhelp.com/topic/paragraphs-showing-up-in-conditional-logic-javascript</link>
		<description>Gravity Support Forums Topic: Paragraphs showing up in conditional logic javascript</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 10:06:32 +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/paragraphs-showing-up-in-conditional-logic-javascript" rel="self" type="application/rss+xml" />

		<item>
			<title>caseym on "Paragraphs showing up in conditional logic javascript"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paragraphs-showing-up-in-conditional-logic-javascript#post-6294</link>
			<pubDate>Sun, 13 Jun 2010 03:08:20 +0000</pubDate>
			<dc:creator>caseym</dc:creator>
			<guid isPermaLink="false">6294@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Cool, I think I'll just leave it alone. Again, thanks for fixing my problem!&#60;/p&#62;
&#60;p&#62;Casey
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Paragraphs showing up in conditional logic javascript"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paragraphs-showing-up-in-conditional-logic-javascript#post-6292</link>
			<pubDate>Sun, 13 Jun 2010 00:15:19 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">6292@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Casey,&#60;/p&#62;
&#60;p&#62;It appears that this creates a shortcode where you can wrap content in a [noformat] [/noformat] tag and the content inside won't be auto-formatted by the WordPress &#34;wptexturize&#34; and &#34;wpautop&#34; filters. ( auto p tags). It could be handy if you do a lot of advanced formatting inside of a post.. otherwise, it's not really a necessity.&#60;/p&#62;
&#60;p&#62;It looks very similar to something I've used before, and if I recall, this snippet played nicely with Gravity Forms. I'm not entirely sure what might be different, but if you really need that functionality, you can check this out and maybe work with your theme developer to find out what's causing the issue.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode&#34; rel=&#34;nofollow&#34;&#62;http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>caseym on "Paragraphs showing up in conditional logic javascript"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paragraphs-showing-up-in-conditional-logic-javascript#post-6289</link>
			<pubDate>Sat, 12 Jun 2010 22:51:57 +0000</pubDate>
			<dc:creator>caseym</dc:creator>
			<guid isPermaLink="false">6289@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Specifically, I found this function to be the problem:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*// DISABLE AUTOFORMATING POSTS
function my_formatter($content) {
	$new_content = &#38;#39;&#38;#39;;
	$pattern_full = &#38;#39;{(\[noformat\].*?\[/noformat\])}is&#38;#39;;
	$pattern_contents = &#38;#39;{\[noformat\](.*?)\[/noformat\]}is&#38;#39;;
	$pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);
	foreach ($pieces as $piece) {
		if (preg_match($pattern_contents, $piece, $matches)) {
			$new_content .= $matches[1];
		} else {
			$new_content .= wptexturize(wpautop($piece));
		}
	}
	return $new_content;
}
remove_filter(&#38;#39;the_content&#38;#39;, &#38;#39;wpautop&#38;#39;);
remove_filter(&#38;#39;the_content&#38;#39;, &#38;#39;wptexturize&#38;#39;);
add_filter(&#38;#39;the_content&#38;#39;, &#38;#39;my_formatter&#38;#39;, 99);*/&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Is there a way I can fix it so it works with Gravity Forms? Or is it really doing anything useful?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Casey
&#60;/p&#62;</description>
		</item>
		<item>
			<title>caseym on "Paragraphs showing up in conditional logic javascript"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paragraphs-showing-up-in-conditional-logic-javascript#post-6288</link>
			<pubDate>Sat, 12 Jun 2010 22:45:48 +0000</pubDate>
			<dc:creator>caseym</dc:creator>
			<guid isPermaLink="false">6288@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Kevin,&#60;/p&#62;
&#60;p&#62;You are right! I looked in the functions file and found a reference to &#34;short codes.&#34; I commented out that line and now the form works. Hopefully I can figure out which short code is causing the problem, as they are useful. But for now I'm glad to have fixed this problem!&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Casey
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Paragraphs showing up in conditional logic javascript"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paragraphs-showing-up-in-conditional-logic-javascript#post-6284</link>
			<pubDate>Sat, 12 Jun 2010 21:47:36 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">6284@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would assume something in this theme is adding the additional markup - probably from something in the functions file.&#60;/p&#62;
&#60;p&#62;I can't know without seeing it.. can you provide a URL for the theme so I can download it and take a peek?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>caseym on "Paragraphs showing up in conditional logic javascript"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paragraphs-showing-up-in-conditional-logic-javascript#post-6282</link>
			<pubDate>Sat, 12 Jun 2010 20:14:17 +0000</pubDate>
			<dc:creator>caseym</dc:creator>
			<guid isPermaLink="false">6282@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;All,&#60;/p&#62;
&#60;p&#62;I'm using a theme called Nexgen with Gravity Forms. For some reason, when using this theme with conditional logic, it inserts &#38;lt;p&#38;gt; into the javascript and messes up the form:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1002210&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1002210&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Does anybody know I can solve this? The &#38;lt;p&#38;gt; is not there when I switch to the default wordpress theme. &#60;/p&#62;
&#60;p&#62;Here is the link to the actual site: &#60;a href=&#34;http://pcsreports.com/pcs_survey/&#34; rel=&#34;nofollow&#34;&#62;http://pcsreports.com/pcs_survey/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Casey
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
