<?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: Automatically Submit Form to Post Author</title>
		<link>https://legacy.forums.gravityhelp.com/topic/automatically-submit-form-to-post-author</link>
		<description>Gravity Support Forums Topic: Automatically Submit Form to Post Author</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:34:14 +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/automatically-submit-form-to-post-author" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Automatically Submit Form to Post Author"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/automatically-submit-form-to-post-author#post-44624</link>
			<pubDate>Wed, 21 Dec 2011 03:38:39 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">44624@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for posting that code Nathan.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clicknathan on "Automatically Submit Form to Post Author"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/automatically-submit-form-to-post-author#post-44555</link>
			<pubDate>Tue, 20 Dec 2011 16:46:57 +0000</pubDate>
			<dc:creator>clicknathan</dc:creator>
			<guid isPermaLink="false">44555@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just in case anyone's interested in this, I've figured out how to have a form automatically submit to the author of the post the page appears on.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
 $author_email_addy = get_the_author_meta( &#38;#39;user_email&#38;#39; );
 gravity_form(
3,
$display_title=false,
$display_description=true,
$display_inactive=false,
$field_values = array(
&#38;#39;author_email&#38;#39;=&#38;gt; $author_email_addy
),
$ajax=true
 ); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The&#60;code&#62;3&#60;/code&#62; is the ID of the form, FYI, and I'm doing this all via a &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Function_Call&#34; rel=&#34;nofollow&#34;&#62;function call&#60;/a&#62;, not using the shortcode / WP Post Editor. &#60;/p&#62;
&#60;p&#62;Note the &#60;code&#62;&#38;#39;author_email&#38;#39;=&#38;gt; $author_email_addy&#60;/code&#62;, this is the important part.&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Add an &#60;code&#62;Email&#60;/code&#62; field (from the Advanced Fields in the Form Editor) to your form.&#60;/li&#62;
&#60;li&#62;Editing that field, click the Advanced tab&#60;/li&#62;
&#60;li&#62;Click Allow Field to be Populated Dynamically, and enter &#60;code&#62;author_email&#60;/code&#62; as the value.&#60;/li&#62;
&#60;li&#62;Save the form and go to Notifications&#60;/li&#62;
&#60;li&#62;Scroll down and tick the box Notification to Users&#60;/li&#62;
&#60;li&#62;In the Send To: field, choose the Email field from step 1 above&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;That's it!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
