<?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: Autoresponder based on dropdown selection</title>
		<link>https://legacy.forums.gravityhelp.com/topic/autoresponder-based-on-dropdown-selection</link>
		<description>Gravity Support Forums Topic: Autoresponder based on dropdown selection</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 12:01:10 +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/autoresponder-based-on-dropdown-selection" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "Autoresponder based on dropdown selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/autoresponder-based-on-dropdown-selection#post-52154</link>
			<pubDate>Mon, 12 Mar 2012 16:02:02 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">52154@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, bt-chadski,&#60;/p&#62;
&#60;p&#62;Yes, this is doable. You would need to use one of Gravity Forms' hooks to modify the notification message being sent. If you were simply conditionally sending to a different email address based on the selection, it could be done in the admin. But, since you are modifying the content of the email, you would use the &#34;gform_pre_submission_filter&#34; (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter)&#60;/a&#62;. You would add some code to check the drop down and build your message with the link based on the selection. Below is a quick example of modifying the message:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_filter&#38;quot;, &#38;quot;change_autoresponder&#38;quot;);
function change_autoresponder($form){
	$new_message = &#38;quot;This is a test changing the autoresponder in the pre submission filter&#38;quot;;
	foreach($form[&#38;quot;fields&#38;quot;] as &#38;amp;$field)
	{
		//do this for a specific field
		if ($field[&#38;quot;id&#38;quot;] == 5)
		{
			$input_name = &#38;quot;input_&#38;quot; . $field[&#38;quot;id&#38;quot;]; //get name of form field
			$fieldname = $field[&#38;quot;label&#38;quot;]; //get field label
			$value = $_POST[$input_name]; //get value of field out of the post data
			if (!empty($value))
			{
				//there is a value, add field to user autoresponder message - &#38;quot;\r\n&#38;quot; is a carriage return line feed
				$new_message .= &#38;quot;\r\n&#38;quot; . $fieldname . &#38;quot; - &#38;quot; . $value;
			}
		}
	}
	//change autoresponder in form to new one
	$form[&#38;quot;autoResponder&#38;quot;][&#38;quot;message&#38;quot;] = $new_message;
	//return form so changes are applied
	return $form;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So, there are a lot of existing examples out there which can make things like this very easy to do. We can help guide you in the right direction if you have problems.&#60;/p&#62;
&#60;p&#62;Take a look and let me know if you have questions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bt-chadski on "Autoresponder based on dropdown selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/autoresponder-based-on-dropdown-selection#post-51244</link>
			<pubDate>Sun, 04 Mar 2012 14:03:03 +0000</pubDate>
			<dc:creator>bt-chadski</dc:creator>
			<guid isPermaLink="false">51244@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We need a form which will contain a list of topics which person might choose to receive more information on.&#60;/p&#62;
&#60;p&#62;We want it to be presented in a dropdown box so they can only select 1. Based on their selection, we need the autoresponder to include a download link which corresponds with their selection.&#60;/p&#62;
&#60;p&#62;Is this doable and what is the skill level needed to set this up?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
