<?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 second address on multi-page form?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form</link>
		<description>Gravity Support Forums Topic: Dynamically populate second address on multi-page form?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 12:02:23 +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-second-address-on-multi-page-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35813</link>
			<pubDate>Tue, 20 Sep 2011 23:10:59 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">35813@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Very good. Thanks for posting the link.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hugo_everybody on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35731</link>
			<pubDate>Tue, 20 Sep 2011 05:21:57 +0000</pubDate>
			<dc:creator>hugo_everybody</dc:creator>
			<guid isPermaLink="false">35731@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've got it working now. My address and billing address are now on the same page and I'm not using hidden fields. &#60;/p&#62;
&#60;p&#62;The solution I used is this tutorial: &#60;a href=&#34;http://www.encaffeinated.com/articles/view/copying_billing_and_shipping_address_information_with_jquery/&#34; rel=&#34;nofollow&#34;&#62;http://www.encaffeinated.com/articles/view/copying_billing_and_shipping_address_information_with_jquery/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35717</link>
			<pubDate>Mon, 19 Sep 2011 23:48:35 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">35717@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Have you changed all the references from $_GET to $_POST to see if that works?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hugo_everybody on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35645</link>
			<pubDate>Mon, 19 Sep 2011 11:16:38 +0000</pubDate>
			<dc:creator>hugo_everybody</dc:creator>
			<guid isPermaLink="false">35645@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Unfortunately this solution is not working. The GET in jQuery means that you get that data out of the url. But this data is not presented in the url. &#60;/p&#62;
&#60;p&#62;Has anybody got it to work yet?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bleckett on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35026</link>
			<pubDate>Sun, 11 Sep 2011 17:51:11 +0000</pubDate>
			<dc:creator>bleckett</dc:creator>
			<guid isPermaLink="false">35026@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the info... I'm going to play with this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>technocharged on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35010</link>
			<pubDate>Sat, 10 Sep 2011 14:40:32 +0000</pubDate>
			<dc:creator>technocharged</dc:creator>
			<guid isPermaLink="false">35010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is the jQuery code again:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.pastie.org/2514670&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2514670&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>technocharged on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35008</link>
			<pubDate>Sat, 10 Sep 2011 14:36:07 +0000</pubDate>
			<dc:creator>technocharged</dc:creator>
			<guid isPermaLink="false">35008@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@bleckett - I am no programming master BUT we were able to accomplish pre-populating field values from another form on demand using simple jQuery and the following steps:.&#60;/p&#62;
&#60;p&#62;1. Set the confirmation action of the page 1 form to redirect and select &#34;Pass Field Data Via Query String&#34;.&#60;br /&#62;
2.  Build the appropriate query string as shown in the example. For example: firstname={First Name::1}&#38;amp;lastname={Last Name::2}&#38;amp;address1={Address 1::3}&#38;amp;address2={Address 2::4}&#38;amp;city={City:5}&#38;amp;state={State::8}&#38;amp;zip={Zip::6}&#38;amp;email={Email::9}&#38;amp;phone={Phone::7}&#38;amp;birthdate={Birthdate::10}&#60;/p&#62;
&#60;p&#62;3. setup hidden fields on the page 2 form for each of the page one variable being passed and in the advanced tab of each hidden field, check &#34;Allow field to be populated dynamically&#34; and set the parameter to the name of the appropriate field variable being passed from page 1.&#60;/p&#62;
&#60;p&#62;4. In the header (header.php in WP), place jQuery code, similar to the following, before the &#38;lt;/head&#38;gt; tag (change the field ID's and GET values to match yours):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[js]
	jQuery(document).ready(function() {

			jQuery(&#38;quot;#choice_1_1&#38;quot;).click(function(){
				if (jQuery(&#38;quot;#choice_1_1&#38;quot;).is(&#38;quot;:checked&#38;quot;)){
					jQuery(&#38;quot;#input_2_7&#38;quot;).val(&#38;quot;&#38;lt;?php echo $_GET[&#38;#39;address1&#38;#39;]; ?&#38;gt;&#38;quot;);
					jQuery(&#38;quot;#input_2_8&#38;quot;).val(&#38;quot;&#38;lt;?php echo $_GET[&#38;#39;address2&#38;#39;]; ?&#38;gt;&#38;quot;);
					jQuery(&#38;quot;#input_2_9&#38;quot;).val(&#38;quot;&#38;lt;?php echo $_GET[&#38;#39;city&#38;#39;]; ?&#38;gt;&#38;quot;);
					jQuery(&#38;quot;#input_2_10&#38;quot;).val(&#38;quot;&#38;lt;?php echo $_GET[&#38;#39;state&#38;#39;]; ?&#38;gt;&#38;quot;);
					jQuery(&#38;quot;#input_2_11&#38;quot;).val(&#38;quot;&#38;lt;?php echo $_GET[&#38;#39;zip&#38;#39;]; ?&#38;gt;&#38;quot;);
				}else{
					jQuery(&#38;quot;#input_2_7&#38;quot;).val(&#38;quot;&#38;quot;);
					jQuery(&#38;quot;#input_2_8&#38;quot;).val(&#38;quot;&#38;quot;);
					jQuery(&#38;quot;#input_2_9&#38;quot;).val(&#38;quot;&#38;quot;);
					jQuery(&#38;quot;#input_2_10&#38;quot;).val(&#38;quot;&#38;quot;);
					jQuery(&#38;quot;#input_2_11&#38;quot;).val(&#38;quot;&#38;quot;);
				}
			});

	});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hope this helps!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bleckett on "Dynamically populate second address on multi-page form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-second-address-on-multi-page-form#post-35005</link>
			<pubDate>Sat, 10 Sep 2011 13:56:51 +0000</pubDate>
			<dc:creator>bleckett</dc:creator>
			<guid isPermaLink="false">35005@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there an easy way to do this?&#60;/p&#62;
&#60;p&#62;I have a (USA) address block on page 1 of a multi-page form (home address - Field ID 3).&#60;br /&#62;
I also have an identical address block on page 2 of the form (billing address - Field ID 7).&#60;br /&#62;
Above the address I have a check box that says &#34;Use Home Address&#34;.&#60;/p&#62;
&#60;p&#62;Is there a simple way to dynamically populate the second address (Field ID 7) with all the data from the first (Field ID 3) address when the user clicks on the &#34;Use Home Address&#34; checkbox?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
