<?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: Variables in Email Notifications</title>
		<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications</link>
		<description>Gravity Support Forums Topic: Variables in Email Notifications</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 12:36:21 +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/variables-in-email-notifications" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Variables in Email Notifications"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications#post-63513</link>
			<pubDate>Mon, 25 Jun 2012 09:08:56 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">63513@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm glad I was able to sort this out for you, and again, sorry about things slipping through the cracks. I hope you'll continue to enjoy the product, and let us know if we can help again in the future.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vaughnk on "Variables in Email Notifications"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications#post-63510</link>
			<pubDate>Mon, 25 Jun 2012 08:39:27 +0000</pubDate>
			<dc:creator>vaughnk</dc:creator>
			<guid isPermaLink="false">63510@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David, thank you for taking the time to do this. Yes it works great.&#60;br /&#62;
I do appreciate your effort, and I made my comments in the other post fully knowing from the traffic on this site, just how busy you guys are. I was just bent out of shape, given you can not use merge fields in the email addresses for some (technical) reason.&#60;br /&#62;
Anyway thank you again it's helped with this problem, and your example has helped me understand your product's features.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Variables in Email Notifications"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications#post-63242</link>
			<pubDate>Thu, 21 Jun 2012 20:28:23 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">63242@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;V - So here is what I ended up doing. &#60;/p&#62;
&#60;p&#62;1 - Create an e-mail field called hidden&#60;br /&#62;
2 - Go to advanced and give it a class name of hidden&#60;br /&#62;
3 - Use the merge tag for this e-mail field in the notification section (admin or user).&#60;br /&#62;
4 - Create a css class in my style.css&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.hidden {
display: none;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;5 - In my functions.php file I did the following:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_3&#38;quot;, &#38;quot;pre_submission_handler&#38;quot;);
function pre_submission_handler($form){
    $_POST[&#38;quot;input_12&#38;quot;] = $_POST[&#38;quot;input_11&#38;quot;] .&#38;quot;@gmail.com&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You will want to change the _3 and the input numbers with the field id's that make sense to you. You'll also want to change the e-mail address to @smssender.com&#60;/p&#62;
&#60;p&#62;So what I've done is create a hidden field that will be used for the e-mail. This field gets populated on submit with the value of another field and merged with the rest of the e-mail address I want. &#60;/p&#62;
&#60;p&#62;Then this full e-mail address gets sent to our notification system and then WordPress sends out the e-mail for us to the fully realized e-mail address. &#60;/p&#62;
&#60;p&#62;Hope this helps, and sorry about losing you there for a bit.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vaughnk on "Variables in Email Notifications"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications#post-63038</link>
			<pubDate>Wed, 20 Jun 2012 00:25:00 +0000</pubDate>
			<dc:creator>vaughnk</dc:creator>
			<guid isPermaLink="false">63038@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David, No progress at my end. It appears it can not be achieved easily, and maybe should be move to feature request. As other threads are similar.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/best-way-to-make-a-tell-a-friend-form#post-27035&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/best-way-to-make-a-tell-a-friend-form#post-27035&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vaughnk on "Variables in Email Notifications"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications#post-62930</link>
			<pubDate>Mon, 18 Jun 2012 20:24:21 +0000</pubDate>
			<dc:creator>vaughnk</dc:creator>
			<guid isPermaLink="false">62930@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks David,&#60;br /&#62;
Given your brief response it appears it is rather a simple task, but the documentation I am afraid is not that helpful. Remember that my user will not be logged in, and i am simply trying to construct an email address from data that has been entered.&#60;br /&#62;
From your docs -     &#34;Merge Tags&#34;&#60;br /&#62;
       &#34; You can use the merge code drop down, also known as the &#34;Insert Form Field&#34; drop down to generate a merge tag. Merge tags are used in the Message field and can also be copy-n-pasted into any of the other Notification fields where appropriate. &#34;&#60;/p&#62;
&#60;p&#62;This doesn't exactly help, as merge tags are an obvious options in the email subject and body only. Your documentation does not freely indicate it can be used in the email send field chosen.&#60;br /&#62;
When editing the default values of an email field, selecting the merge tag drop down does not give you the other fields as options, only usernames,dates etc&#60;/p&#62;
&#60;p&#62;So I think this is how to do it (but it doesn't work)&#60;br /&#62;
phone-field : 6143433233&#60;br /&#62;
email-address :default value set to {custom_field:phone-field:1}@smssender.com&#60;/p&#62;
&#60;p&#62;using this does not produce or build &#60;a href=&#34;mailto:6143433233@smssender.com&#34;&#62;6143433233@smssender.com&#60;/a&#62;, the 6143433233 is not passed, and you are left with a dud email-address.&#60;/p&#62;
&#60;p&#62;Any help would be great, there does not seem to be any examples of this in support .&#60;/p&#62;
&#60;p&#62;cheers&#60;br /&#62;
V
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Variables in Email Notifications"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications#post-62842</link>
			<pubDate>Mon, 18 Jun 2012 10:22:40 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">62842@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is entirely possible. You will want to use the user notification section of the notifications, and put the merge tag in the to field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vaughnk on "Variables in Email Notifications"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variables-in-email-notifications#post-62804</link>
			<pubDate>Sun, 17 Jun 2012 21:07:32 +0000</pubDate>
			<dc:creator>vaughnk</dc:creator>
			<guid isPermaLink="false">62804@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Email notifications appear to be limited to a specific email address. That generally being a admin address or the like. Some of the documentation is indicating that you do not have a variable option here, and I just need it confirmed that what I am trying to do is not possible.&#60;br /&#62;
I wish to send a sms confirmation when the user posts the form.&#60;br /&#62;
i.e. user inputs phone number in phone# field&#60;br /&#62;
on submit the notification goes to  phone#@smsprovider.com. &#60;/p&#62;
&#60;p&#62;very simple, but possible/not possible ?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
