<?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 Tag: routing - Recent Posts</title>
		<link>https://legacy.forums.gravityhelp.com/tags/routing</link>
		<description>Gravity Support Forums Tag: routing - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 16:34:30 +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/tags/routing" rel="self" type="application/rss+xml" />

		<item>
			<title>Sweet Design on "Notification routing does not work"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notificatoin-routing-does-not-work#post-329517</link>
			<pubDate>Tue, 18 Jun 2013 00:04:13 +0000</pubDate>
			<dc:creator>Sweet Design</dc:creator>
			<guid isPermaLink="false">329517@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you, I had the same issued, and creating a second notification seems to have fixed my problem as well. Whew!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>simmons on "Pre-sale questions: file uploads, progress bar"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-sale-questions-file-uploads-progress-bar#post-326770</link>
			<pubDate>Sun, 16 Jun 2013 09:09:37 +0000</pubDate>
			<dc:creator>simmons</dc:creator>
			<guid isPermaLink="false">326770@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;this is the priority.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>studioleland on "Email routing not sending all emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/email-routing-not-sending-all-emails#post-308780</link>
			<pubDate>Fri, 07 Jun 2013 17:17:11 +0000</pubDate>
			<dc:creator>studioleland</dc:creator>
			<guid isPermaLink="false">308780@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Having the same issue.  Need immediately response.  Submitted via Priority Support Request.  Please assist.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Is that possible with Gravity?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-that-possible-with-gravity#post-299157</link>
			<pubDate>Mon, 03 Jun 2013 11:23:41 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">299157@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks alsc: spot on.  Routing is the way to accomplish this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alsc on "Is that possible with Gravity?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-that-possible-with-gravity#post-296590</link>
			<pubDate>Sun, 02 Jun 2013 08:42:48 +0000</pubDate>
			<dc:creator>alsc</dc:creator>
			<guid isPermaLink="false">296590@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, it is possible. You have to use the &#34;configure Routing&#34; option in the Forms notifications.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>maurizio.gabriele on "Is that possible with Gravity?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-that-possible-with-gravity#post-294134</link>
			<pubDate>Sat, 01 Jun 2013 02:59:39 +0000</pubDate>
			<dc:creator>maurizio.gabriele</dc:creator>
			<guid isPermaLink="false">294134@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need a contact form where, depending on the selected field, the email will be sent to a different address.&#60;br /&#62;
Something like this :&#60;br /&#62;
&#60;a href=&#34;http://www.jas.com/Company/Pages/ContactUs.aspx&#34; rel=&#34;nofollow&#34;&#62;http://www.jas.com/Company/Pages/ContactUs.aspx&#60;/a&#62;  (please select a region)&#60;br /&#62;
Is that possible with gravity (it seems to be...)?&#60;br /&#62;
Thank You&#60;br /&#62;
Maurizio
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nology on "Custom Routing Based On Form Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-routing-based-on-form-fields#post-293172</link>
			<pubDate>Fri, 31 May 2013 16:46:08 +0000</pubDate>
			<dc:creator>nology</dc:creator>
			<guid isPermaLink="false">293172@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Dave, thanks for all the help. I got it working. I had to change the name of my email notification from Admin Notification to my Admin Email (which is what I named mine)&#60;/p&#62;
&#60;p&#62;Here is the working version if anyone else happens to be using the address field and needs to use routing based on the address.state field...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_notification_2&#38;quot;, &#38;quot;route_notification&#38;quot;, 10, 3);

function route_notification($notification, $form, $entry) {

global $post;
global $fromstate;
global $tostate;

	if($notification[&#38;quot;name&#38;quot;] == &#38;quot;Admin Email&#38;quot;){ // The name of my admin notification 

	$notification[&#38;#39;toType&#38;#39;] = &#38;quot;email&#38;quot;;
	$fromstate = $_POST[&#38;quot;input_4_4&#38;quot;]; //my form field id
	$tostate = $_POST[&#38;quot;input_12_4&#38;quot;] ; //my form field id

			if ($fromstate == &#38;quot;Illinois&#38;quot; &#124;&#124; $tostate == &#38;quot;Illinois&#38;quot;) { // Here I am checking for two fields and if they = Illinois
					$notification[&#38;#39;to&#38;#39;] = &#38;quot;emailtwo@email.com&#38;quot;; //If illinois send to the iaddress
				} else {
					$notification[&#38;#39;to&#38;#39;] = &#38;quot;emailtwo@email.com&#38;quot;; // If no illinois send to this address
			}
	}

return $notification;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Would be cool to add these fields to the built in conditional logic.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nology on "Custom Routing Based On Form Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-routing-based-on-form-fields#post-293148</link>
			<pubDate>Fri, 31 May 2013 16:23:09 +0000</pubDate>
			<dc:creator>nology</dc:creator>
			<guid isPermaLink="false">293148@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No luck. I tried the following formats...&#60;/p&#62;
&#60;p&#62;input_4_4&#60;br /&#62;
input_12_4&#60;/p&#62;
&#60;p&#62;input_2_4_4&#60;br /&#62;
input_2_12_4&#60;/p&#62;
&#60;p&#62;I was also incorrect. The email I get is the default email when you setup an admin notification. So, no matter what logic I apply, it always send to the notification address setup in the notifications. So... neither of these two email I have in my code get triggered.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Custom Routing Based On Form Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-routing-based-on-form-fields#post-293054</link>
			<pubDate>Fri, 31 May 2013 15:07:59 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">293054@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think when they are posted the fields become input_4_4 instead of input_4.4. Try that and let me know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nology on "Custom Routing Based On Form Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-routing-based-on-form-fields#post-293050</link>
			<pubDate>Fri, 31 May 2013 15:01:13 +0000</pubDate>
			<dc:creator>nology</dc:creator>
			<guid isPermaLink="false">293050@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;Thanks for the reply. I would love to use the built in conditional logic on notifications but it does not look like address fields are selectable as part of the list of selectable form fields. All my other fields show up but the ones in an address field (address, city, state, zip).&#60;/p&#62;
&#60;p&#62;I am trying to target the address.state field for the from and to addresses. I know I can create these fields individually and not use an address field, but need to use the address fields as they need to sit side by side and is part of a multi page form.&#60;/p&#62;
&#60;p&#62;So.. I am trying to do this via code instead.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
