<?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: Dynamically Populate a Form With Site Title</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-a-form-with-site-title</link>
		<description>Gravity Support Forums Topic: Dynamically Populate a Form With Site Title</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 09:05: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/dynamically-populate-a-form-with-site-title" rel="self" type="application/rss+xml" />

		<item>
			<title>Denis Lam on "Dynamically Populate a Form With Site Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-a-form-with-site-title#post-318432</link>
			<pubDate>Wed, 12 Jun 2013 06:41:19 +0000</pubDate>
			<dc:creator>Denis Lam</dc:creator>
			<guid isPermaLink="false">318432@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I read this post but it talks about how to populate a field dynamically with user meta data. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/right-parameter-names-to-pre-populate-the-names-fields#post-14044&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/right-parameter-names-to-pre-populate-the-names-fields#post-14044&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;How would I call the site title or tagline/description?&#60;/p&#62;
&#60;p&#62;Would this work if placed in functions.php? (param name is 'site_title')&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_field_value_site_title&#38;#39;, create_function(&#38;quot;&#38;quot;, &#38;#39;$value = populate_sitetitle(\&#38;#39;site_title\&#38;#39;); return $value;&#38;#39; ));
function populate_sitetitle($meta_key){
    global $blog_title;
	return $blog_title;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
