<?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: How To: Add merge tags into form description/title</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-add-merger-tags-into-form-descriptiontitle</link>
		<description>Gravity Support Forums Topic: How To: Add merge tags into form description/title</description>
		<language>en-US</language>
		<pubDate>Fri, 03 Apr 2026 19:43:40 +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/how-to-add-merger-tags-into-form-descriptiontitle" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How To: Add merge tags into form description/title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-add-merger-tags-into-form-descriptiontitle#post-81662</link>
			<pubDate>Wed, 17 Oct 2012 07:31:00 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81662@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's pretty interesting.  Thank you for that code.  Nice to see you around still :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "How To: Add merge tags into form description/title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-add-merger-tags-into-form-descriptiontitle#post-81592</link>
			<pubDate>Wed, 17 Oct 2012 02:44:40 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">81592@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Recently I had a situation where I wanted to use one form on many pages but wanted to include the post title in the form description. For example. Inquire about [SERVICE NAME] that way I could use just one form for all pages but have them appear unique. The solution &#60;code&#62;gform_pre_render&#60;/code&#62; Here is the code I used:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_pre_render&#38;quot;, &#38;quot;gf_description_merger&#38;quot;);
function gf_description_merger($form) {
        $form[&#38;#39;description&#38;#39;] = GFCommon::replace_variables($form[&#38;#39;description&#38;#39;]);
        return $form;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/3qTF3Zqi&#34; rel=&#34;nofollow&#34;&#62;Pastebin&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This could most likely be applied to  the title and or anywhere else merge tags would like to be used.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
