<?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: pass current page title as hidden field in ajax thickbox form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pass-current-page-title-as-hidden-field-in-ajax-thickbox-form</link>
		<description>Gravity Support Forums Topic: pass current page title as hidden field in ajax thickbox form</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 10:48:56 +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/pass-current-page-title-as-hidden-field-in-ajax-thickbox-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "pass current page title as hidden field in ajax thickbox form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pass-current-page-title-as-hidden-field-in-ajax-thickbox-form#post-34782</link>
			<pubDate>Thu, 08 Sep 2011 00:05:50 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34782@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The link for the lower right hand block is missing the leading /, so the link looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[html]
href=&#38;quot;forms/request-availability?height=500&#38;amp;width=420&#38;amp;property=250-west-street&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;instead of this (like all the others):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[html]
href=&#38;quot;/forms/request-availability?height=500&#38;amp;width=420&#38;amp;property=250-west-street&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That was throwing me off for a while since I just happened to be testing that one link (form.)&#60;/p&#62;
&#60;p&#62;However, when I try to load any link in the address bar (not the thickbox) the query string is stripped off and a status code 301 Moved Permanently is returned.&#60;/p&#62;
&#60;p&#62;I tried to load this address:&#60;br /&#62;
&#60;a href=&#34;http://manhattanmiami.com/forms/schedule-a-showing?height=500&#38;amp;width=420&#38;amp;property=250-west-street&#34; rel=&#34;nofollow&#34;&#62;http://manhattanmiami.com/forms/schedule-a-showing?height=500&#38;amp;width=420&#38;amp;property=250-west-street&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Server returned a 301 code and directed me to this address:&#60;br /&#62;
&#60;a href=&#34;http://manhattanmiami.com/forms/schedule-a-showing/&#34; rel=&#34;nofollow&#34;&#62;http://manhattanmiami.com/forms/schedule-a-showing/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;One thing that tells me is that in building your links you need to have a trailing slash after the page name (permalink) like this (after the word showing):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[html]
href=&#38;quot;/forms/schedule-a-showing/?height=500&#38;amp;width=420&#38;amp;property=250-west-street&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;HOWEVER, that still does not fix the problem.  When I try to load that URL, I just get the &#34;schedule-a-showing&#34; page.&#60;/p&#62;
&#60;p&#62;This is not an issue with Gravity Forms.  It's something with your server, either stripping out the query string parameters due to some rewriting or something with the CDN, I'm not sure.  Once you resolve that and can load one of those URLs in the address bar, I think the &#34;property&#34; parameter will work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jacobdubail on "pass current page title as hidden field in ajax thickbox form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pass-current-page-title-as-hidden-field-in-ajax-thickbox-form#post-34702</link>
			<pubDate>Wed, 07 Sep 2011 12:22:17 +0000</pubDate>
			<dc:creator>jacobdubail</dc:creator>
			<guid isPermaLink="false">34702@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris,&#60;/p&#62;
&#60;p&#62;Here you go: &#60;a href=&#34;http://manhattanmiami.com/property/250-west-street/&#34; rel=&#34;nofollow&#34;&#62;http://manhattanmiami.com/property/250-west-street/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There are a few hundred properties on the site.  The 4 black blocks in the left sidebar are the form popup links.  Each will act more of less the same.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Jacob
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "pass current page title as hidden field in ajax thickbox form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pass-current-page-title-as-hidden-field-in-ajax-thickbox-form#post-34645</link>
			<pubDate>Tue, 06 Sep 2011 20:38:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34645@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you have a page where this is in practice so we can take a look?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jacobdubail on "pass current page title as hidden field in ajax thickbox form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pass-current-page-title-as-hidden-field-in-ajax-thickbox-form#post-34631</link>
			<pubDate>Tue, 06 Sep 2011 17:32:54 +0000</pubDate>
			<dc:creator>jacobdubail</dc:creator>
			<guid isPermaLink="false">34631@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey ya'll,&#60;/p&#62;
&#60;p&#62;I have a form that I'm loading in a Thickbox form with AJAX.  I want to pass the post title into the form as a hidden field.&#60;/p&#62;
&#60;p&#62;Here's what I'm doing, which isn't working.&#60;/p&#62;
&#60;p&#62;I'm setting the parameter name to: &#60;code&#62;property&#60;/code&#62;.&#60;br /&#62;
Allowing the field to be populated dynamically.&#60;br /&#62;
Inserting this into my template: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a class=&#38;quot;thickbox&#38;quot; href=&#38;quot;/forms/schedule-a-showing?height=500&#38;amp;width=420&#38;amp;property=&#38;lt;?php echo basename(get_permalink()); ?&#38;gt;&#38;quot;&#38;gt;Link text&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Anyone have an idea?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Jacob
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
