<?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: Dynamically populate form field using referring WP Post details</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-form-field-using-referring-wp-post-details</link>
		<description>Gravity Support Forums Topic: Dynamically populate form field using referring WP Post details</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Apr 2026 01:53:53 +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/dynamically-populate-form-field-using-referring-wp-post-details" rel="self" type="application/rss+xml" />

		<item>
			<title>andrew1911 on "Dynamically populate form field using referring WP Post details"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-form-field-using-referring-wp-post-details#post-13924</link>
			<pubDate>Mon, 06 Dec 2010 04:46:56 +0000</pubDate>
			<dc:creator>andrew1911</dc:creator>
			<guid isPermaLink="false">13924@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm in the process of building an online booking site for a client where they can purchase attendance at seminars. I'm using a WooTheme which is perfect for the job, but I'd like to use a better booking form : &#60;a href=&#34;http://demo.woothemes.com/?name=diarise&#34; rel=&#34;nofollow&#34;&#62;http://demo.woothemes.com/?name=diarise&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Each seminar is a categorised post; I'd like to pass through to the booking form the title of the referring post and the date, so that the user has a smoother ride through the booking process.&#60;/p&#62;
&#60;p&#62;I've experimented with the {referer}{embed_post:post_title} option in the Default Values options of the respective form field but this doesn't work.&#60;/p&#62;
&#60;p&#62;Looking at the source code of the WooTheme booking form example, it looks like it's feasible using $_GET vars : &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(isset($_POST[&#38;#39;eventName&#38;#39;]))
{
echo $_POST[&#38;#39;eventName&#38;#39;];
}
elseif (isset($_GET[&#38;#39;event_id&#38;#39;]))
{
$woo_post = get_post($_GET[&#38;#39;event_id&#38;#39;]);
if ($woo_post)
{
echo $woo_post-&#38;gt;post_title;
}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But I'm at a bit of a loss how to adapt my GravityForm to pick up the same variables - I was sort of hoping I could use the interface, being a bit weaker in the code department!&#60;/p&#62;
&#60;p&#62;Any thoughts would be very much appreciated.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
