<?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: Insert a gravity form onto author&#039;s profile page</title>
		<link>https://legacy.forums.gravityhelp.com/topic/insert-a-gravity-form-onto-authors-profile-page</link>
		<description>Gravity Support Forums Topic: Insert a gravity form onto author&#039;s profile page</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 16:19: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/insert-a-gravity-form-onto-authors-profile-page" rel="self" type="application/rss+xml" />

		<item>
			<title>iamdangavin on "Insert a gravity form onto author&#039;s profile page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-a-gravity-form-onto-authors-profile-page#post-26672</link>
			<pubDate>Tue, 31 May 2011 21:20:57 +0000</pubDate>
			<dc:creator>iamdangavin</dc:creator>
			<guid isPermaLink="false">26672@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay turns out I figured it out about 15 mins after I posted here... This might not be the best solution, but it is working!&#60;/p&#62;
&#60;p&#62;I am assuming you have this on your author page: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$curauth = (isset($_GET[&#38;#39;author_name&#38;#39;])) ? get_user_by(&#38;#39;slug&#38;#39;, $author_name) : get_userdata(intval($author));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;First, you need to create a hidden field in your form:&#60;/p&#62;
&#60;p&#62;- Edit your Form&#60;br /&#62;
- Add a hidden field you want to populate and give it a name&#60;br /&#62;
- Edit the hidden field&#60;br /&#62;
- Select the Advanced tab&#60;br /&#62;
- Select the &#34;Allow field to be populated dynamically&#34; checkbox&#60;br /&#62;
- Give the field a parameter name, this parameter name is used to target the field so name it something simple like &#34;email&#34; or something similar.&#60;br /&#62;
- Save your form&#60;/p&#62;
&#60;p&#62;Then you would use the gform_field_value hook by adding custom code in your themes functions.php file to dynamically populate that field. For example, if you set the parameter to &#34;email&#34; your code would look like this:&#60;/p&#62;
&#60;p&#62;in your functions.php file add this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// NO ID after value_email
add_filter( &#38;#39;gform_field_value_email&#38;#39;, &#38;#39;populate_email&#38;#39; );
function populate_email(){
 global $curauth;
	return $curauth-&#38;gt;user_email;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and then again in your functions.php file add this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// update the &#38;#39;1&#38;#39; to the ID of your form
add_filter(&#38;quot;gform_notification_email_1&#38;quot;, &#38;quot;change_notification_email&#38;quot;, 10, 2);
function change_notification_email($email, $form){

    // update the &#38;#39;5&#38;#39; to the ID of your field
    $email = $_POST[&#38;#39;input_5&#38;#39;];

    return $email;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Remember to change your ID's to reflect your form.&#60;/p&#62;
&#60;p&#62;If you have any issues let me know! Enjoy!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>iamdangavin on "Insert a gravity form onto author&#039;s profile page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-a-gravity-form-onto-authors-profile-page#post-26671</link>
			<pubDate>Tue, 31 May 2011 20:56:59 +0000</pubDate>
			<dc:creator>iamdangavin</dc:creator>
			<guid isPermaLink="false">26671@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am currently looking to do this as well. I have submitted a request for this too, and no answer. If they respond to my post I will be sure to let you know what goes on!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Andrew Munro on "Insert a gravity form onto author&#039;s profile page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-a-gravity-form-onto-authors-profile-page#post-25789</link>
			<pubDate>Wed, 18 May 2011 04:36:10 +0000</pubDate>
			<dc:creator>Andrew Munro</dc:creator>
			<guid isPermaLink="false">25789@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What I would like to do is insert a Gravity Form onto each individual author's profile page which would send them an email. Eg. &#60;a href=&#34;http://www.sitename.com/authors/username&#34; rel=&#34;nofollow&#34;&#62;http://www.sitename.com/authors/username&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Obviously I would want just 1 form for all authors, and have the form send the information to the author's email address. I know how to insert a form using &#38;lt;?php gravity_form(1); ?&#38;gt; where 1 is the form ID, but how do I get the form to automatically pick up the author's email address from their profile page? I'm guessing there is a way to dynamically populate the form with the author's email address but I'm not too good with php. &#60;/p&#62;
&#60;p&#62;If someone could point me in the right direction, I'll try my best :)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
