<?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: Potential BUG: Pre-Render Causing Forms To Break</title>
		<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-pre-render-causing-forms-to-break</link>
		<description>Gravity Support Forums Topic: Potential BUG: Pre-Render Causing Forms To Break</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:16:43 +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/potential-bug-pre-render-causing-forms-to-break" rel="self" type="application/rss+xml" />

		<item>
			<title>etrakdev on "Potential BUG: Pre-Render Causing Forms To Break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-pre-render-causing-forms-to-break#post-56823</link>
			<pubDate>Fri, 27 Apr 2012 14:04:56 +0000</pubDate>
			<dc:creator>etrakdev</dc:creator>
			<guid isPermaLink="false">56823@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ah, that's the problem. I only looked at the top part of the filter documentation and not the examples, where it shows the return statement.&#60;/p&#62;
&#60;p&#62;So, adding the &#34;return $form;&#34; is obviously needed, which now works properly.&#60;/p&#62;
&#60;p&#62;Might be helpful to add into the documentation that the function call needs to return the form. Again, that may be obvious, but easy to overlook if it's not stated. :-)&#60;/p&#62;
&#60;p&#62;Thanks for jumping on it so quickly!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Potential BUG: Pre-Render Causing Forms To Break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-pre-render-causing-forms-to-break#post-56816</link>
			<pubDate>Fri, 27 Apr 2012 13:38:17 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">56816@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You are putting this in a functions.php file in your activated theme folder, correct? &#60;/p&#62;
&#60;p&#62;Also, between the brackets, can you put return $form; and see what happens?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>etrakdev on "Potential BUG: Pre-Render Causing Forms To Break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-pre-render-causing-forms-to-break#post-56814</link>
			<pubDate>Fri, 27 Apr 2012 13:18:50 +0000</pubDate>
			<dc:creator>etrakdev</dc:creator>
			<guid isPermaLink="false">56814@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have several forms that all work without any problems. However, as soon as I add the pre render filter, the forms break with the &#34;We could not locate your form&#34;. There doesn't even have to be any further code in the method, just the simple statement below will cause the forms to break:&#60;/p&#62;
&#60;p&#62;add_filter(&#34;gform_pre_render&#34;, &#34;pre_render_function&#34;);&#60;br /&#62;
function pre_render_function($form) {&#60;br /&#62;
};&#60;/p&#62;
&#60;p&#62;This is in the functions.php file, so it should be in the right place.&#60;/p&#62;
&#60;p&#62;Anyone had issues with this? Am I overlooking something obvious?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;JB
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
