<?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: Posting information to a form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/posting-information-to-a-form</link>
		<description>Gravity Support Forums Topic: Posting information to a form</description>
		<language>en-US</language>
		<pubDate>Fri, 17 Apr 2026 08:09:12 +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/posting-information-to-a-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Posting information to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-information-to-a-form#post-2589</link>
			<pubDate>Mon, 11 Jan 2010 02:51:18 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">2589@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not aware of anything offhand that would cause the difference. Could you share a couple of links to the forms? I'll be happy to take a look at it and see what we can figure out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clevyr on "Posting information to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-information-to-a-form#post-2588</link>
			<pubDate>Mon, 11 Jan 2010 02:43:39 +0000</pubDate>
			<dc:creator>clevyr</dc:creator>
			<guid isPermaLink="false">2588@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Dont suppose you can tell me why the form loses its CSS when posted into one page vs another?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clevyr on "Posting information to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-information-to-a-form#post-2587</link>
			<pubDate>Sun, 10 Jan 2010 22:42:46 +0000</pubDate>
			<dc:creator>clevyr</dc:creator>
			<guid isPermaLink="false">2587@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome, trying this tonight.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Posting information to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-information-to-a-form#post-2498</link>
			<pubDate>Wed, 06 Jan 2010 22:06:10 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">2498@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;clevyr,&#60;br /&#62;
Following is a code snippet that you can try. Place it in your theme's function.php. You will need to replace the form id in the add_filter call with your form id (i.e. 18 in gform_notification_email_18).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter( &#38;#39;gform_notification_email_18&#38;#39;, &#38;#39;route_notification&#38;#39;, 10, 2 );
function route_notification($email_to, $entry) {

    //1- Read location id from query string parameter &#38;quot;location_id&#38;quot;
    $location_id = $_GET[&#38;quot;location_id&#38;quot;];

    //2- Create a key/value array with the location id (key) and the emails that will be sent (value).
    //To send to multiple people, simply separate multiple emails with a comma (,)
    $emails = array(&#38;quot;1&#38;quot; =&#38;gt; &#38;quot;email_1@test.com&#38;quot;,
                    &#38;quot;2&#38;quot; =&#38;gt; &#38;quot;email_2@test.com, &#60;a href=&#34;mailto:email_2b@test.com&#34;&#62;email_2b@test.com&#60;/a&#62;&#38;quot;,
                    &#38;quot;22&#38;quot; =&#38;gt; &#38;quot;email_22@test.com&#38;quot;
                    );

    //3- Lookup the array above to find which email(s) the notification need to be sent to.
    $email_to = $emails[$location_id];

    //4- Return the email(s) so that they are used for the notification
    return $email_to;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Posting information to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-information-to-a-form#post-2492</link>
			<pubDate>Wed, 06 Jan 2010 17:57:40 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2492@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You may want to look at this thread:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/sending-form-to-author-of-post&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/sending-form-to-author-of-post&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This user shows code samples of how he used the API hooks to populate a field AND dynamically tell the notification email where it should go.&#60;/p&#62;
&#60;p&#62;You will want to do something similar only instead of populating the subject field you could populate a hidden field that is for the location id.  Then based on the location id you can set the notification email to go wherever you want.&#60;/p&#62;
&#60;p&#62;You need to be familiar with PHP and how to use WordPress hooks to do this, look it over and if you need additional help we may be able to come up with a code snippet for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clevyr on "Posting information to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-information-to-a-form#post-2491</link>
			<pubDate>Wed, 06 Jan 2010 17:02:40 +0000</pubDate>
			<dc:creator>clevyr</dc:creator>
			<guid isPermaLink="false">2491@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to send information to a contact form, for instance, the unique id of a particular location, and from that information I need the form to send its notification to a different email based upon the unique id.&#60;/p&#62;
&#60;p&#62;So, for 200 unique id's we could see 200 different email address that are available to have a notification email sent to.  I also need to send the form to multiple people...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
