<?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: Function Call with Dynamic Population</title>
		<link>https://legacy.forums.gravityhelp.com/topic/function-call-with-dynamic-population</link>
		<description>Gravity Support Forums Topic: Function Call with Dynamic Population</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 14:22:56 +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/function-call-with-dynamic-population" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Function Call with Dynamic Population"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/function-call-with-dynamic-population#post-51454</link>
			<pubDate>Tue, 06 Mar 2012 12:48:36 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">51454@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome - glad you got it sorted out, thanks for letting us know and posting your solution!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>OliverIbanez on "Function Call with Dynamic Population"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/function-call-with-dynamic-population#post-51450</link>
			<pubDate>Tue, 06 Mar 2012 12:06:52 +0000</pubDate>
			<dc:creator>OliverIbanez</dc:creator>
			<guid isPermaLink="false">51450@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok ... I got this.  It was a simple typo that was doing me in as I was trying to test.  Here's what I came up with. Simple.&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
if (is_single() ){&#60;br /&#62;
   $address = &#34;some-address-info&#34;;&#60;br /&#62;
   $contactAddress = array ('parameter_name' =&#38;gt; $address);&#60;br /&#62;
   echo gravity_form(1, false, true, false, $contactAddress, true);&#60;br /&#62;
} ?&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>OliverIbanez on "Function Call with Dynamic Population"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/function-call-with-dynamic-population#post-51389</link>
			<pubDate>Tue, 06 Mar 2012 02:22:29 +0000</pubDate>
			<dc:creator>OliverIbanez</dc:creator>
			<guid isPermaLink="false">51389@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm trying to call upon a gravity form using PHP but am not quite sure how to do this when I have a field that I would like to populate with a value.&#60;/p&#62;
&#60;p&#62;Below is a basic idea of what I have ... but I don't know how to get the $address value into a gravity form dynamically populated field that I called address_info. &#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
if (is_single() ){&#60;br /&#62;
	$address = &#34;some-address-info&#34;;&#60;br /&#62;
	echo gravity_form(1, false, true, false, '', true);&#60;br /&#62;
}&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;I read the documentation and it talks about an array but still not sure how this is supposed to be setup.  Also, I'm unable to use the do_shortcode approach either since it doesn't seem to be working at all where I need it.  The method above atleast generates the form.  I'm try to use this code with the Genesis Framework Simple Hooks, which is why I need the method above to work and not the do_shortcode.&#60;/p&#62;
&#60;p&#62;Thanks in advance!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
