<?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: populate field with value field of previous page</title>
		<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page</link>
		<description>Gravity Support Forums Topic: populate field with value field of previous page</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Apr 2026 04:30:19 +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/populate-field-with-value-field-of-previous-page" rel="self" type="application/rss+xml" />

		<item>
			<title>theslink2000 on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-66063</link>
			<pubDate>Fri, 13 Jul 2012 03:08:50 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">66063@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I got it to work but as I said only between fields on the same page.  The way it works to the best of my understanding is when you click into the field you want to populate from it loads the script and then when you click elsewhere it fires the populate function.&#60;/p&#62;
&#60;p&#62;But this will only work between two forms on the same page NOT between pages.  If it's not working for you the only thing I can think of is that perhaps you haven't got JQuery active in your theme, that was a problem I had to start with.&#60;/p&#62;
&#60;p&#62;But as I said in my previous post &#60;a href=&#34;http://pastie.org/4245987&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4245987&#60;/a&#62; is the only script I've manage to get to pass field data between pages I'm afraid.&#60;/p&#62;
&#60;p&#62;PS - Sorry about the delay I'm in GMT time zone so it was late :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>elizabethanne on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-66018</link>
			<pubDate>Thu, 12 Jul 2012 16:48:54 +0000</pubDate>
			<dc:creator>elizabethanne</dc:creator>
			<guid isPermaLink="false">66018@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@theslink2000 so you got this pastie to work? &#60;a href=&#34;http://pastie.org/4230744&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4230744&#60;/a&#62;  i put it into my functions.php file, updated the form ID and input field IDs, and nada.  :(
&#60;/p&#62;</description>
		</item>
		<item>
			<title>theslink2000 on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-66017</link>
			<pubDate>Thu, 12 Jul 2012 16:44:49 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">66017@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;After experimenting some more that last pastie I posted will work on the same page wonderfully cause I've used it to fill some hidden post fields from some of the more advanced fields such as the address field.&#60;/p&#62;
&#60;p&#62;However, I've manage to get one bit of code to pass a value between page one and two here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/4245987&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4245987&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This has been outlined somewhere else on the GForms forums but I can't find it so I'm reposting mine but IT IS NOT MY WORK.  Ok so that's clear, I've posted a bit to much here, it's the complete set of functions to build a user ID out of a post code entry and then modifying the string and returning it to a field on the next page.  I included it all to allow anyone unsure to pick through it and understand and make sure there's nothing left to doubt about odd function calls.  With this I've managed to get it to post the same thing in multiple fields by giving the output a second if statement and CSS name but I haven't been able to apply it to another setup for some reason.&#60;/p&#62;
&#60;p&#62;I'm sorry if that's a bit wordy but I just want to avoid doing what I've seen on here and assuming people get things when they may not, I rarely do lol.  Once again it's not my work but I've commented it as I've figured it out, hope this helps elizabethanne.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>elizabethanne on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-65976</link>
			<pubDate>Thu, 12 Jul 2012 13:58:01 +0000</pubDate>
			<dc:creator>elizabethanne</dc:creator>
			<guid isPermaLink="false">65976@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;just tried that last pastie - isn't working for me either. i need the value from a previous field on the page.  hopefully someone can step in and help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>theslink2000 on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-65468</link>
			<pubDate>Tue, 10 Jul 2012 05:42:10 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">65468@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Also these may be of some interest.  I can get neither to work so if any admins are reading this and want to help please jump in!&#60;/p&#62;
&#60;p&#62;Field ID's being used - Take contents from field ID 18 and put it into field ID 24 on a 4 page form, form ID = 1 (note in the source code field 18 seems to have an ID of tos-18)&#60;/p&#62;
&#60;p&#62;Post: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/pass-page-1-data-to-page-2&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/pass-page-1-data-to-page-2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;My Code: &#60;a href=&#34;http://pastie.org/4230723&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4230723&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This one also came from the GForms forums &#60;a href=&#34;http://pastie.org/4230744&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4230744&#60;/a&#62; and uses JQuery.&#60;/p&#62;
&#60;p&#62;Both of these seem to make perfect sense and work as I would have expected this to work but for some reason don't!  This is getting really annoying so fingers crossed we can get somewhere.&#60;/p&#62;
&#60;p&#62;Also forgive me if I've missed the point slightly but could you not convert the numerical field to a string, use string manipulation to format it correctly and then pass it to the process afterwards, so GForms will treat it as a string so you can use input masks and validation to format it correctly and then convert it to a number for work behind the scenes?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>theslink2000 on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-65467</link>
			<pubDate>Tue, 10 Jul 2012 05:15:18 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">65467@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Could you pastie you're working code please bud?  Mine looks exactly like the one you've posted here &#60;a href=&#34;http://pastie.org/4230595&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4230595&#60;/a&#62;, maybe if I see what actually works for you we can finally figure out what's going on here!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jramerman on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-65466</link>
			<pubDate>Tue, 10 Jul 2012 05:09:58 +0000</pubDate>
			<dc:creator>jramerman</dc:creator>
			<guid isPermaLink="false">65466@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If I use this code in functions.php &#60;a href=&#34;http://pastie.org/4230595&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4230595&#60;/a&#62; the problem is like described under 1.&#60;/p&#62;
&#60;p&#62;I now just found out, that for the workaround mentioned above under 2. the problem is that the thousand seperator is used as a decimal seperator. &#60;/p&#62;
&#60;p&#62;for example monday starting on 10400 and ending on 10500 gives starting on tuesday 10.500 When used further on in the calculation this is been seen as 10,5 instead of 10 thousand 500. So probably this is the real problem in my case...? In the field, the format is set to 9.999,99&#60;/p&#62;
&#60;p&#62;I now changed the calculation by adding *1000 to it and it now seems to work....!!&#60;/p&#62;
&#60;p&#62;But I am still curious why this code &#60;a href=&#34;http://pastie.org/4230595&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4230595&#60;/a&#62; isn't working like expected.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>theslink2000 on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-65464</link>
			<pubDate>Tue, 10 Jul 2012 05:02:32 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">65464@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm also having problems with the code detailed on the post jramerman mentioned.  I can make it work by changing the last bit to:&#60;/p&#62;
&#60;p&#62;'$field['defaultValue'] = rgpost('input_7');'&#60;/p&#62;
&#60;p&#62;Even though the html field id is input_1_7.  The other problem is that it populates every field of that kind on the page so I have a series of post fields on page 4 and it puts the content in every one of them!  If I change anything such as changing defaultValue to Content or to correct input ID it won't populate.&#60;/p&#62;
&#60;p&#62;I'm really struggling with dynamic population in general it just seems over complicated, the documentation is little more than basic pointers with most of the forum posts just pointing at them, which is unhelpful.&#60;/p&#62;
&#60;p&#62;In light of this I'd like to suggest a new built in feature where a field is available on the advanced settings which allows the user to enter a field ID from that form and it will dynamically populate automatically.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-65397</link>
			<pubDate>Mon, 09 Jul 2012 16:31:53 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">65397@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you use pastie.org to show me your PHP function code you are using/have placed?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jramerman on "populate field with value field of previous page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-field-with-value-field-of-previous-page#post-65395</link>
			<pubDate>Mon, 09 Jul 2012 16:27:50 +0000</pubDate>
			<dc:creator>jramerman</dc:creator>
			<guid isPermaLink="false">65395@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;can anybody help me on this one?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
