<?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: Dynamic Population Notification Strategy ???</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy</link>
		<description>Gravity Support Forums Topic: Dynamic Population Notification Strategy ???</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:29:45 +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/dynamic-population-notification-strategy" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33868</link>
			<pubDate>Mon, 29 Aug 2011 23:59:46 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33868@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you figured it out.  For the benefit of anyone following along, that code goes in functions.php in your theme:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;p.s. I changed the email addresses so you won't receive any submission notifications.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>muhromatic on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33864</link>
			<pubDate>Mon, 29 Aug 2011 21:02:21 +0000</pubDate>
			<dc:creator>muhromatic</dc:creator>
			<guid isPermaLink="false">33864@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris:&#60;/p&#62;
&#60;p&#62;It is all up and running... THANK YOU... &#60;/p&#62;
&#60;p&#62;I have always said that you guys rock... But...&#60;/p&#62;
&#60;p&#62;&#34;Gravity Forms has the best support team in the industry. Period.&#34;&#60;/p&#62;
&#60;p&#62;Thanks Again, Glenn
&#60;/p&#62;</description>
		</item>
		<item>
			<title>muhromatic on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33859</link>
			<pubDate>Mon, 29 Aug 2011 19:06:07 +0000</pubDate>
			<dc:creator>muhromatic</dc:creator>
			<guid isPermaLink="false">33859@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;WOW... Unbelievable... Thank you so much...&#60;/p&#62;
&#60;p&#62;One &#34;stupid&#34; question... Exactly where do I drop this code once I modify it?&#60;/p&#62;
&#60;p&#62;Once again, Thanks a lot...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33853</link>
			<pubDate>Mon, 29 Aug 2011 18:13:06 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33853@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the email addresses.  &#60;/p&#62;
&#60;p&#62;Here is a sample form:&#60;br /&#62;
&#60;a href=&#34;http://gravity.chrishajer.com/customer-survey/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/customer-survey/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Try submitting without an accountID and the results will be sent to the address that is set in the admin notification area (currently me.)&#60;/p&#62;
&#60;p&#62;Try submitting each of these:&#60;br /&#62;
&#60;a href=&#34;http://gravity.chrishajer.com/customer-survey/?accountID=123456789&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/customer-survey/?accountID=123456789&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://gravity.chrishajer.com/customer-survey/?accountID=abc123&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/customer-survey/?accountID=abc123&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://gravity.chrishajer.com/customer-survey/?accountID=555-1212&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/customer-survey/?accountID=555-1212&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The 123456789 will be sent to mac and the abc123 will be sent to the other.  555-1212 will fall back to the notification email in the admin settings.  If no accountID is sent or the accountID is not found in the database, the email address from the admin notification settings will be used.&#60;/p&#62;
&#60;p&#62;You need to have a hidden field in your form with the &#34;populate dynamically&#34; box checked and the parameter name of &#34;accountID&#34; (case sensitive.)&#60;/p&#62;
&#60;p&#62;Here's the code &#60;a href=&#34;http://pastebin.com/Rws5p0T5&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/Rws5p0T5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You will have to change the database connection details including the table name. You will have to change the form number (28 in my case) to your actual form number, and the $lead[4] to the actual field from your $lead (mine was form field #4).  You will also have to change the field names in line 27 to your field names (the one that holds the accountID and the one that holds the email.)&#60;/p&#62;
&#60;p&#62;That should cover it.  You might have some submission notifications from me already.  After you check it out, I will change the email addresses so you don't continue to get notification of form submissions.&#60;/p&#62;
&#60;p&#62;Please ask if you need any additional help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33840</link>
			<pubDate>Mon, 29 Aug 2011 15:43:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33840@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glenn, please send me an email at &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; that contains a couple email addresses you own, so I can use those in the dynamic population and you can see it working.  Otherwise, you'd submit my form and I would be getting all the notifications :-)  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>muhromatic on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33790</link>
			<pubDate>Mon, 29 Aug 2011 12:13:03 +0000</pubDate>
			<dc:creator>muhromatic</dc:creator>
			<guid isPermaLink="false">33790@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So, now that hurricane Irene is out of the way... I have some time to try an get this working... &#60;/p&#62;
&#60;p&#62;Any help with the code to get me started would be very much appreciated.&#60;/p&#62;
&#60;p&#62;I would like to be able to dynamically populate an &#34;email field&#34; from an existing sql table using the QUERY STRING to dynamically populate the &#34;memberid field&#34; which will be used to identify the proper row in the existing sql table. if that makes any sense at all...&#60;/p&#62;
&#60;p&#62;I understand the logic involved but I am clueless with the code...&#60;/p&#62;
&#60;p&#62;Thanks, Glenn
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33719</link>
			<pubDate>Sat, 27 Aug 2011 21:59:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33719@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;Question, could the email be pulled from and existing table that already contains both the email and accountID?&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Yes&#60;/p&#62;
&#60;p&#62;And not a complicated implementation, but more than just a couple lines of code.  (Not 50 though.)    I think you will hook your function to the gform_notification_email hook.  In your function you will read the parameter accountID from the query string, then pull the email associated with that from your database, and populate the notification email with that address.  In your function you can deal with what happens when there is no match.&#60;/p&#62;
&#60;p&#62;It will not be too hard for someone familiar with Gravity Forms.  You can find a current list of developers familiar with Gravity Forms here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/help-customizing-gravity-form-image-upload-functionality#post-32767&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/help-customizing-gravity-form-image-upload-functionality#post-32767&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>muhromatic on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33712</link>
			<pubDate>Sat, 27 Aug 2011 16:17:53 +0000</pubDate>
			<dc:creator>muhromatic</dc:creator>
			<guid isPermaLink="false">33712@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris:&#60;br /&#62;
Cool... but... my programing skills are non-existent.&#60;/p&#62;
&#60;p&#62;I can create the &#34;accountID&#34; field and I can setup it's dynamic population via a QUERY STRING.&#60;/p&#62;
&#60;p&#62;then I veer off into the weeds... @#$%^&#38;amp;^ ... and CRASH/BURN...&#60;/p&#62;
&#60;p&#62;Question, could the email be pulled from and existing table that already contains both the email and accountID?&#60;/p&#62;
&#60;p&#62;I use Digital Access Pass (DAP) ...&#60;/p&#62;
&#60;p&#62;I guess I am asking for help with the &#34;hook&#34; code to make this happen...&#60;/p&#62;
&#60;p&#62;Are we talking about a complicated implementation or a few lines of code?&#60;/p&#62;
&#60;p&#62;Any help/guidance would be appreciated.&#60;/p&#62;
&#60;p&#62;Also, I had posted this in a developers support ticket last night... Can you update that ticket with the above progress  so as not to waste someones time walking me through the above.&#60;/p&#62;
&#60;p&#62;Thanks for your time,&#60;br /&#62;
Glenn
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33705</link>
			<pubDate>Sat, 27 Aug 2011 14:38:12 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33705@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please share more information.  You didn't mention 100,000 members.  Managing 100,000 conditionals would not work very well with AJAX in a browser.&#60;/p&#62;
&#60;p&#62;Now that we know it CAN be done, it's up to you to decide how to do it.  You're going to have to use a hook (probably &#60;strong&#62;gform_notification_email&#60;/strong&#62; to change the notification email address based on the value of the query string parameter accountID.   That hook has access to the $FORM object so you can get the value of accountID.  Then you just need to match  that accountID with the email address.  Maybe you have that stored in a MySQL database table somewhere, or a text file.  You will need to write some code to return the proper email based on the value of accountID.  It's all very doable with a bit of custom code.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_notification_email&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_notification_email&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>muhromatic on "Dynamic Population Notification Strategy ???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-notification-strategy#post-33703</link>
			<pubDate>Sat, 27 Aug 2011 14:31:16 +0000</pubDate>
			<dc:creator>muhromatic</dc:creator>
			<guid isPermaLink="false">33703@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris...&#60;/p&#62;
&#60;p&#62;So, is there a problem having 100,000 routing conditionals? OUCH... :o)&#60;/p&#62;
&#60;p&#62;would love to just be able to update a table... with search functions etc...&#60;/p&#62;
&#60;p&#62;Thanks, Glenn
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
