<?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: Auto populate field with custom field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-field-with-custom-field</link>
		<description>Gravity Support Forums Topic: Auto populate field with custom field</description>
		<language>en-US</language>
		<pubDate>Fri, 03 Apr 2026 22:40:18 +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/auto-populate-field-with-custom-field" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Auto populate field with custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-field-with-custom-field#post-49110</link>
			<pubDate>Fri, 10 Feb 2012 22:44:30 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">49110@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi trewknowledge,&#60;/p&#62;
&#60;p&#62;You're already most of the way there. Here's a snippet that will take you the rest of the way. :)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/3358564&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3358564&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>trewknowledge on "Auto populate field with custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-field-with-custom-field#post-48476</link>
			<pubDate>Mon, 06 Feb 2012 15:14:41 +0000</pubDate>
			<dc:creator>trewknowledge</dc:creator>
			<guid isPermaLink="false">48476@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way, by using the &#34;Allow field to be populated dynamically&#34;, to have a form field automatically get populated by a custom field?&#60;/p&#62;
&#60;p&#62;For example In my post I have a custom field called &#34;stock_num&#34; so in my form I would like this to be automatically populated so that it is included when the form is submitted.&#60;/p&#62;
&#60;p&#62;I know I can set the Paramater Name of the field to &#34;stock_num&#34; and then use this function&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_field_stock_num&#38;quot;, &#38;quot;populate_stock&#38;quot;);
function populate_stock($value){
   return &#38;quot;&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But I am not sure how to pull in the custom field. Any direction would be great
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
