<?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: Pre-populating (again)</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pre-populating-again</link>
		<description>Gravity Support Forums Topic: Pre-populating (again)</description>
		<language>en-US</language>
		<pubDate>Fri, 17 Apr 2026 02:28: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/pre-populating-again" rel="self" type="application/rss+xml" />

		<item>
			<title>Dipity2 on "Pre-populating (again)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populating-again#post-1248</link>
			<pubDate>Wed, 28 Oct 2009 14:16:03 +0000</pubDate>
			<dc:creator>Dipity2</dc:creator>
			<guid isPermaLink="false">1248@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, I just want to say thankyou to Alex, he helped me out enormously - and I want to stress it was ME at fault, not the software!&#60;/p&#62;
&#60;p&#62;Thanks once again :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Pre-populating (again)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populating-again#post-1246</link>
			<pubDate>Wed, 28 Oct 2009 08:41:45 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">1246@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The code above looks good. The problem was that it wasn't being added to the right file (the current theme's function.php). Once it was added to the right file, it worked correctly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dipity2 on "Pre-populating (again)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populating-again#post-1228</link>
			<pubDate>Tue, 27 Oct 2009 18:29:01 +0000</pubDate>
			<dc:creator>Dipity2</dc:creator>
			<guid isPermaLink="false">1228@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It still doesn't work, I'm emailing you now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Pre-populating (again)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populating-again#post-1219</link>
			<pubDate>Tue, 27 Oct 2009 12:22:47 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">1219@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't see anything wrong with your code.&#60;br /&#62;
What I would do is change your populate_enquiry() function to something trivial, like:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function populate_enquiry(){&#60;br /&#62;
return &#34;Testing enquiry&#34;;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If that doesn't work, make sure there aren't any blank spaces around the 'enquity' parameter name.&#60;/p&#62;
&#60;p&#62;If you still can't get it to work, I will need to take a closer look at it. Please email me at alex[at]rocketgenius.com and we can go from there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dipity2 on "Pre-populating (again)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populating-again#post-1212</link>
			<pubDate>Tue, 27 Oct 2009 09:35:46 +0000</pubDate>
			<dc:creator>Dipity2</dc:creator>
			<guid isPermaLink="false">1212@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have the following problem.  I have a paragraph text box that I want pre-populated within the form.  I've added this to my functions.php file, but it isn't working.  I've probably got something wrong somewhere!&#60;/p&#62;
&#60;pre&#62;
add_filter(&#34;gform_field_value_enquiry&#34;, &#34;populate_enquiry&#34;);
function populate_enquiry(){
global $post;
$post_name = $post-&#38;gt;post_title;
$enquiry_total = &#34;Please send me more information on&#34; .$post_name. &#34;!&#34;;
return $enquiry_total;
}
&#60;/pre&#62;
&#60;p&#62;My paragraph text box is ticked to allow dynamic population, and called 'enquiry'.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
