<?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: gform_pre_submission and merge tags</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-and-merge-tags</link>
		<description>Gravity Support Forums Topic: gform_pre_submission and merge tags</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 01:00:04 +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/gform_pre_submission-and-merge-tags" rel="self" type="application/rss+xml" />

		<item>
			<title>j3ph on "gform_pre_submission and merge tags"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-and-merge-tags#post-77225</link>
			<pubDate>Mon, 24 Sep 2012 19:30:46 +0000</pubDate>
			<dc:creator>j3ph</dc:creator>
			<guid isPermaLink="false">77225@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your help, Chris. I'll give it a try.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_pre_submission and merge tags"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-and-merge-tags#post-77219</link>
			<pubDate>Mon, 24 Sep 2012 19:19:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">77219@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How about using the &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_confirmation&#34; rel=&#34;nofollow&#34;&#62;gform_confirmation&#60;/a&#62; filter?  It has access to both the form and the lead, and the $lead['source_url'] will be the embed URL.  Then your function to set the confirmation redirect dynamically can be hooked to that filter and read that value and redirect appropriately.&#60;/p&#62;
&#60;p&#62;I don't think the {embed_url} is set when gform_pre_submission runs.  I know it's available in the drop down of merge tags, but I don't think that is set until after submission, which is why you are seeing the literal value {embed_url} there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>j3ph on "gform_pre_submission and merge tags"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-and-merge-tags#post-77215</link>
			<pubDate>Mon, 24 Sep 2012 18:51:19 +0000</pubDate>
			<dc:creator>j3ph</dc:creator>
			<guid isPermaLink="false">77215@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm stuck and I can't seem to find an answer anywhere. I'm trying to change $form['confirmation']['pageId'] depending on the value of the {embed_url} merge tag which I have stored in a hidden field. &#60;/p&#62;
&#60;p&#62;The problem is that the value of the hidden field is literally {embed_url}. How do I see the actual page the form was submitted from?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
