<?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: How to send postmeta data in form confirmation email?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-send-postmeta-data-in-form-confirmation-email</link>
		<description>Gravity Support Forums Topic: How to send postmeta data in form confirmation email?</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 14:19:52 +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/how-to-send-postmeta-data-in-form-confirmation-email" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How to send postmeta data in form confirmation email?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-send-postmeta-data-in-form-confirmation-email#post-134143</link>
			<pubDate>Mon, 28 Jan 2013 14:04:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">134143@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Getting it into the entry is the easiest way to make sure it gets into the notification.  I think your solution is fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jb510 on "How to send postmeta data in form confirmation email?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-send-postmeta-data-in-form-confirmation-email#post-126940</link>
			<pubDate>Sun, 20 Jan 2013 19:29:38 +0000</pubDate>
			<dc:creator>jb510</dc:creator>
			<guid isPermaLink="false">126940@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So I figured out how to do this using a hidden field populated by a GF parameter.  I'm just not sure it's the best way?&#60;/p&#62;
&#60;p&#62;I created a hidden field to by dynamically populated by a parameter called whitepaper_url&#60;/p&#62;
&#60;p&#62;Then I insert the form with code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
add_action(&#38;#39;genesis_after_post_content&#38;#39;, &#38;#39;jb_whitepaper_form&#38;#39; );
function jb_whitepaper_form() {
	if ( &#38;#39;jb_whitepaper&#38;#39; == get_post_type() ) {
		$whitepaper_url = 	get_post_meta( get_the_id(), &#38;#39;jb_whitepaper_url&#38;#39;, true );
		echo &#38;#39;&#38;lt;div class=&#38;quot;whitepaper-form grey-box&#38;quot;&#38;gt;&#38;#39;;
		gravity_form(2, true, true, false, array(&#38;#39;whitepaper_url&#38;#39; =&#38;gt; $whitepaper_url), false);
		echo &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- end .whitepaper-form --&#38;gt;&#38;#39;;
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;finally my confirmation looks like this&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Thanks!  Here is the link to download your white paper.
&#38;lt;a href=&#38;quot;{Whitepaper URL:2}&#38;quot; alt=&#38;quot;PDF Download Link&#38;quot; title=&#38;quot;Click or Right click and save as to download&#38;quot;&#38;gt;{Whitepaper URL:2}&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I need to do something similar on several other sites so I'm still interested if there is a another or better way?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jb510 on "How to send postmeta data in form confirmation email?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-send-postmeta-data-in-form-confirmation-email#post-125983</link>
			<pubDate>Sat, 19 Jan 2013 07:02:41 +0000</pubDate>
			<dc:creator>jb510</dc:creator>
			<guid isPermaLink="false">125983@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'd like to attach a PDF to the confirmation email that's sent.  That PDF is attached as post metadata to the post that includes the form (there is more than one post and each post has a different PDF). &#60;/p&#62;
&#60;p&#62;I've attached single files using gform_user_notification_attachments before, but I'm not sure how to get gravity forms to recognize which post it is on and attach the PDF for that post.&#60;/p&#62;
&#60;p&#62;Just to be clear, there is a post, with a file attached as metadata.  There is a form on that post to request being sent a link to the file.  The user submits an email address and gets a link to the file attached to the post they submitted there email address on.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
