<?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: Inserting passed Query String values into an HTML block?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/inserting-passed-query-string-values-into-an-html-block</link>
		<description>Gravity Support Forums Topic: Inserting passed Query String values into an HTML block?</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 08:04:37 +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/inserting-passed-query-string-values-into-an-html-block" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Inserting passed Query String values into an HTML block?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inserting-passed-query-string-values-into-an-html-block#post-75232</link>
			<pubDate>Thu, 13 Sep 2012 22:14:18 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75232@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The code Kyle posted would go into your theme's functions.php file. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pblankl on "Inserting passed Query String values into an HTML block?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inserting-passed-query-string-values-into-an-html-block#post-75227</link>
			<pubDate>Thu, 13 Sep 2012 22:01:34 +0000</pubDate>
			<dc:creator>pblankl</dc:creator>
			<guid isPermaLink="false">75227@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Kyle&#60;/p&#62;
&#60;p&#62;Which file needs to be edited with the function above? I need to insert a passed query string into an html block too -- the first and last name, they were passed as first_name, last_name. &#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kyle on "Inserting passed Query String values into an HTML block?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inserting-passed-query-string-values-into-an-html-block#post-56584</link>
			<pubDate>Wed, 25 Apr 2012 20:40:42 +0000</pubDate>
			<dc:creator>kyle</dc:creator>
			<guid isPermaLink="false">56584@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would think you could do it with shortcodes.  So you could have:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Hey [FirstName]...&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and then you'd have to create a shortcode that converted [FirstName] into the actual firstname.  Maybe something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_shortcode( &#38;#39;firstname&#38;#39;, &#38;#39;custom_firstname_shortcode&#38;#39; );

function custom_firstname_shortcode() {
  global $_GET;

  return $_GET[&#38;#39;FirstName&#38;#39;];

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;which assumes a url like:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.example.com/myform/?FirstName=Brian&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/myform/?FirstName=Brian&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you're going to parse a bunch of values, you might want to build a more generic shortcode and pass the values as arguments.  Something like:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;[parsequery value=&#38;quot;FirstName&#38;quot;]&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>getresults on "Inserting passed Query String values into an HTML block?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inserting-passed-query-string-values-into-an-html-block#post-56580</link>
			<pubDate>Wed, 25 Apr 2012 20:19:55 +0000</pubDate>
			<dc:creator>getresults</dc:creator>
			<guid isPermaLink="false">56580@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've set up a Gravity Form that passes Query String values on submit to a second Gravity Form, including FirstName, LastName as hidden fields (admin view only). &#60;/p&#62;
&#60;p&#62;Is it possible to dynamically insert this Query String values into an HTML block on the second form? &#60;/p&#62;
&#60;p&#62;i.e.: &#60;/p&#62;
&#60;p&#62;Hey {FirstName} - thanks for taking a look at this. &#60;/p&#62;
&#60;p&#62;I'm guessing no but will be pleasantly surprised if the answer is yet. &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
