<?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: Where do I find/set Parameter Name for dynamic population?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/where-do-i-findset-parameter-name-for-dynamic-population</link>
		<description>Gravity Support Forums Topic: Where do I find/set Parameter Name for dynamic population?</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 16:06:28 +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/where-do-i-findset-parameter-name-for-dynamic-population" rel="self" type="application/rss+xml" />

		<item>
			<title>inchwormwv on "Where do I find/set Parameter Name for dynamic population?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/where-do-i-findset-parameter-name-for-dynamic-population#post-55294</link>
			<pubDate>Sun, 15 Apr 2012 11:19:45 +0000</pubDate>
			<dc:creator>inchwormwv</dc:creator>
			<guid isPermaLink="false">55294@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have looked through the documentation and forums but haven't found the solution to my task yet. I have a form that registers new users. I have a second form where registered users will add a list of heirloom seeds they have - so they will be filling out the second form many times and I don't want them to have to re input the same info over and over. For example, I want to pre populate the second form with the user's USDA Growing Zone (and other information such as address, elevation, and phone) which I asked for on the registration form.&#60;/p&#62;
&#60;p&#62;I tried this in functions.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// populate the field with &#38;quot;usda_growing_zone&#38;quot; as the population parameter with the &#38;quot;usda_growing_zone&#38;quot; of the current user
add_filter(&#38;#39;gform_field_value_usda_growing_zone&#38;#39;, create_function(&#38;quot;&#38;quot;, &#38;#39;$value = populate_usermeta(\&#38;#39;usda_growing_zone\&#38;#39;); return $value;&#38;#39; ));

// this function is called by both filters and returns the requested user meta of the current user
function populate_usermeta($meta_key){
    global $current_user;
    return $current_user-&#38;gt;__get($meta_key);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But usda_growing_zone is simply the field label with underscores, I do not know how/where to find the actual parameter name for that field in the registration form. If you could help me with this I think I could figure out the address, phone and elevation...&#60;br /&#62;
Reg. form &#60;a href=&#34;http://heirloomseeds.alterra-wv.com/register/&#34; rel=&#34;nofollow&#34;&#62;http://heirloomseeds.alterra-wv.com/register/&#60;/a&#62;&#60;br /&#62;
Form 2 &#60;a href=&#34;http://heirloomseeds.alterra-wv.com/add-seeds/&#34; rel=&#34;nofollow&#34;&#62;http://heirloomseeds.alterra-wv.com/add-seeds/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
