<?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: Tell a Friend Form Query</title>
		<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query</link>
		<description>Gravity Support Forums Topic: Tell a Friend Form Query</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:30:31 +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/tell-a-friend-form-query" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Tell a Friend Form Query"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query#post-22654</link>
			<pubDate>Wed, 06 Apr 2011 15:45:15 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">22654@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@hegeman Yes, for the second form change update_autoresponder to like update_autoresponder2 or something like that.  Just use a different name in the 2nd one wherever you have update_autoresponder.  Can't declare it twice, so you need to use a different name.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hegeman on "Tell a Friend Form Query"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query#post-22641</link>
			<pubDate>Wed, 06 Apr 2011 13:32:11 +0000</pubDate>
			<dc:creator>hegeman</dc:creator>
			<guid isPermaLink="false">22641@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Another problem arises though. There are two tell-a-friend forms on the site, one for Dutch and one for English. As soon as I add a second snippet for the second form I get a error that I cannot redeclare  update_autoresponder()&#60;/p&#62;
&#60;p&#62;Is there a way to add a similar snippet for the second form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hegeman on "Tell a Friend Form Query"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query#post-22640</link>
			<pubDate>Wed, 06 Apr 2011 13:24:17 +0000</pubDate>
			<dc:creator>hegeman</dc:creator>
			<guid isPermaLink="false">22640@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David, I tried again and actually both work: add_action as well as add_filter.&#60;br /&#62;
I found out now that I accidentally took the input id (which is in my case input_2_3) while I should have put in the input name (which is in my case input_3).&#60;/p&#62;
&#60;p&#62;Sorry, my mistake..... thanks a lot for helping me out!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Tell a Friend Form Query"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query#post-22629</link>
			<pubDate>Wed, 06 Apr 2011 11:54:19 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">22629@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#34;add_action&#34; should be &#34;add_filter&#34;, see if that was the issue: &#60;a href=&#34;http://pastie.org/1763838&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1763838&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hegeman on "Tell a Friend Form Query"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query#post-22604</link>
			<pubDate>Wed, 06 Apr 2011 03:41:35 +0000</pubDate>
			<dc:creator>hegeman</dc:creator>
			<guid isPermaLink="false">22604@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I'm using this snippet on some sites. But now that I have upgraded from gravity forms 1.4.5 to 1.5 and wp 3.04 to wp 3.1 it seems to have stopped working. Have there been any changes in the filters? Is it possible to provide an updated snippet that's working with the most recent versions?&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Tell a Friend Form Query"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query#post-9393</link>
			<pubDate>Sat, 04 Sep 2010 15:44:19 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">9393@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;Try this snippet: &#60;a href=&#34;http://pastie.org/1138371&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1138371&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This code will replace the the default &#34;From&#34; value of your &#34;Notification to User&#34; with the value of the &#34;Your Email&#34; field. In order for this to work you'll want to modify the snippet like so:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_filter_12&#38;quot;, &#38;quot;update_autoresponder&#38;quot;);&#60;/code&#62;
&#60;p&#62;Update the &#34;12&#34; to whatever your form ID is.&#60;/li&#62;
&#60;li&#62;&#60;code&#62;$form[&#38;#39;autoResponder&#38;#39;][&#38;#39;from&#38;#39;] = $_POST[&#38;#39;input_2&#38;#39;];&#60;/code&#62;
&#60;p&#62;Update the &#34;input_2&#34; to whatever input ID your &#34;Your Email&#34; input is. You can find this by viewing the source of the form (&#60;a href=&#34;http://grab.by/6eHs&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/6eHs&#60;/a&#62; - see the name attribute of the input).&#60;/li&#62;
&#60;/ol&#62;</description>
		</item>
		<item>
			<title>YMSA on "Tell a Friend Form Query"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tell-a-friend-form-query#post-9358</link>
			<pubDate>Fri, 03 Sep 2010 17:38:33 +0000</pubDate>
			<dc:creator>YMSA</dc:creator>
			<guid isPermaLink="false">9358@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I came across this post:&#60;br /&#62;
&#60;a href=&#34;http://forum.gravityhelp.com/topic/creating-a-tell-a-friend-form-for-every-single-post&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/creating-a-tell-a-friend-form-for-every-single-post&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I created a generic single Tell a Friend form (not linked to each post)&#60;/p&#62;
&#60;p&#62;Here is the problem:&#60;/p&#62;
&#60;p&#62;If A decides to tell their friend B, when B gets the email, it shows my email address, in the &#34;FROM&#34; section instead of A.&#60;/p&#62;
&#60;p&#62;In Notification to User it is set up as follows:&#60;/p&#62;
&#60;p&#62;Send to field: &#34;Friend 1 Email&#34; (i.e B)&#60;br /&#62;
BCC:  &#34;Friend 2 Email', 'Friend 3 Email&#34; (if A wants to also tell C and D)&#60;br /&#62;
From Email: &#34;Your Email&#34; (i.e A) - this field actually asks for an email address&#60;br /&#62;
Reply to: &#34;Your Email&#34; (i.e A) - this field actually asks for an email address&#60;/p&#62;
&#60;p&#62;How do I correct the above, so that it shows A email address, not mine?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
