<?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 pass an URL with an Ampersand (&#38;) in a dynamically populated field?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-pass-an-url-with-an-ampersand-in-a-dynamically-populated-field</link>
		<description>Gravity Support Forums Topic: How to pass an URL with an Ampersand (&amp;) in a dynamically populated field?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:27:01 +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-pass-an-url-with-an-ampersand-in-a-dynamically-populated-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How to pass an URL with an Ampersand (&#38;) in a dynamically populated field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-pass-an-url-with-an-ampersand-in-a-dynamically-populated-field#post-112133</link>
			<pubDate>Tue, 01 Jan 2013 21:24:40 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">112133@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure if Gravity Forms can do anything about that.  If your form is located on a page here:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
&#60;a href=&#34;http://example.com/form-page/&#34; rel=&#34;nofollow&#34;&#62;http://example.com/form-page/&#60;/a&#62;
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;And you are sending your string to the form with a parameter like this:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
&#60;a href=&#34;http://example.com/form-page/?url=http://ancestry.org/genealogy/getperson.php?personID=I5843&#38;amp;tree=ancestors&#34; rel=&#34;nofollow&#34;&#62;http://example.com/form-page/?url=http://ancestry.org/genealogy/getperson.php?personID=I5843&#38;amp;tree=ancestors&#60;/a&#62;
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I believe WordPress is going to split that into at least two parameters:&#60;br /&#62;
url: &#60;a href=&#34;http://ancestry.org/genealogy/getperson.php?personID=I5843&#34; rel=&#34;nofollow&#34;&#62;http://ancestry.org/genealogy/getperson.php?personID=I5843&#60;/a&#62;&#60;br /&#62;
tree: ancestors&#60;/p&#62;
&#60;p&#62;I'm surprised that personID is not split off as well, since there are two question marks in that query string. &#60;/p&#62;
&#60;p&#62;I think this is all coming from WordPress though, and the web server software.  Maybe you will need to plan on that &#34;tree&#34; parameter being sent always, and store that in another field, dynamically populated with the parameter name of &#34;tree&#34;.  If you need to put it all back together, you can do that in a hidden field and use the gform_pre_submission_filter.  &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or, maybe you can modify the string before it's sent to your form, to encode the ampersand, or otherwise make this appear as just one long string to your WordPress page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>walt on "How to pass an URL with an Ampersand (&#38;) in a dynamically populated field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-pass-an-url-with-an-ampersand-in-a-dynamically-populated-field#post-112100</link>
			<pubDate>Tue, 01 Jan 2013 18:47:45 +0000</pubDate>
			<dc:creator>walt</dc:creator>
			<guid isPermaLink="false">112100@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;Currently I'm working on a form with several fields that will be dynamically populated. One of these fields will receive URL's of the following form: &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://ancestry.org/genealogy/getperson.php?personID=I5843&#38;amp;tree=ancestors&#34; rel=&#34;nofollow&#34;&#62;http://ancestry.org/genealogy/getperson.php?personID=I5843&#38;amp;tree=ancestors&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There is an &#38;amp; in the URL that is currently being cut-off in the dynamically populated field, resulting in: &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://ancestry.org/genealogy/getperson.php?personID=I5843&#34; rel=&#34;nofollow&#34;&#62;http://ancestry.org/genealogy/getperson.php?personID=I5843&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Question: how can I prevent the &#38;amp; from being cut off in the dynamically populated URL field?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Walt
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
