<?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: Dynamic population from variable fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields</link>
		<description>Gravity Support Forums Topic: Dynamic population from variable fields</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:50:34 +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/dynamic-population-from-variable-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-92199</link>
			<pubDate>Sat, 17 Nov 2012 01:53:29 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">92199@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Closing this topic as it is very old.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ramon fincken on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-91148</link>
			<pubDate>Wed, 14 Nov 2012 15:11:43 +0000</pubDate>
			<dc:creator>ramon fincken</dc:creator>
			<guid isPermaLink="false">91148@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Have you seen this one?&#60;br /&#62;
&#60;a href=&#34;https://github.com/soulseekah/Gravity-Forms-Saved-Forms-Addon&#34; rel=&#34;nofollow&#34;&#62;https://github.com/soulseekah/Gravity-Forms-Saved-Forms-Addon&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stevorevo on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-63056</link>
			<pubDate>Wed, 20 Jun 2012 09:38:58 +0000</pubDate>
			<dc:creator>stevorevo</dc:creator>
			<guid isPermaLink="false">63056@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The hidden fields work great. The only issue is that my client does not want the user to be able to edit these hidden fields. Is there a way I can create a separate form on my template page, then access the fields in that form when a gravity form is submitted? I would like to be able to programmatically add these fields in the pre-render hook but I don't think that is possible.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-62777</link>
			<pubDate>Sat, 16 Jun 2012 21:13:58 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">62777@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That sounds like a much better idea. I spent a while today trying to figure out how this would work. The developers are also working on a solution for the core of Gravity Forms, but it might not be ready for a while because of the huge list of priorities we have in the development stream right now. &#60;/p&#62;
&#60;p&#62;Try out your new solution and let me (and everyone) know if it works. All my best,&#60;br /&#62;
David
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stevorevo on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-62774</link>
			<pubDate>Sat, 16 Jun 2012 18:04:23 +0000</pubDate>
			<dc:creator>stevorevo</dc:creator>
			<guid isPermaLink="false">62774@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In looking at this further, I'm not sure how it's going to work when it comes to the admin page for viewing entries. There are going to be field_number conflicts between one form and another if I just start changing the lead_id value in the lead_detail table when the forms are different. &#60;/p&#62;
&#60;p&#62;So what I'm thinking I'll do is have two forms. After users get approval one that first form, I am going to transfer that information over to the second form via hidden fields. Does this sounds like a viable solution?&#60;/p&#62;
&#60;p&#62;Thanks again,&#60;br /&#62;
Steve
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stevorevo on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-62705</link>
			<pubDate>Fri, 15 Jun 2012 14:17:36 +0000</pubDate>
			<dc:creator>stevorevo</dc:creator>
			<guid isPermaLink="false">62705@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When I say &#34;changing the lead_id to what's in my hidden field&#34; I mean changing it in the rg_lead_detail table.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stevorevo on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-62586</link>
			<pubDate>Thu, 14 Jun 2012 13:01:27 +0000</pubDate>
			<dc:creator>stevorevo</dc:creator>
			<guid isPermaLink="false">62586@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello David -&#60;/p&#62;
&#60;p&#62;That works perfectly. RGFormsModel::get_lead() really makes it easy, too.&#60;/p&#62;
&#60;p&#62;I have something else I need to do but haven't quite been able to find the hook that will help, and I'm hoping you can point me in the right direction. The client has decided they want to have the user complete one pre-application form. If they are approved, they can return to the site, and complete the application process on a multi-page form. Here's how I'm thinking I can accomplish this:&#60;/p&#62;
&#60;p&#62;1) user completes first form&#60;br /&#62;
2) I save the lead_id to a cookie (if they have cookies disabled, I'll have them login with email/password)&#60;br /&#62;
3) use RGFormsModel::get_lead() to get the data and populate the form, stashing the lead_id into a hidden field&#60;/p&#62;
&#60;p&#62;That's all straightforward. Where I'm having difficulty coming up with a solid solution is how to make sure the lead_id from the first form is the same as the lead_id from the rest of the application which is a different form.&#60;/p&#62;
&#60;p&#62;My initial thought was to use the gform_entry_created hook, grab the lead_id from the hidden field, and after the entry has been saved, update the newest entry, changing the lead_id to what's in my hidden field. Do you think that makes sense, or would you suggest a better way of doing it? Also, when going from one page to the next on a multi-page form, how is the lead_id tracked?&#60;/p&#62;
&#60;p&#62;Thanks so much for any help you can provide.&#60;/p&#62;
&#60;p&#62;Steve
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stevorevo on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-62090</link>
			<pubDate>Mon, 11 Jun 2012 09:31:36 +0000</pubDate>
			<dc:creator>stevorevo</dc:creator>
			<guid isPermaLink="false">62090@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David - thank you for your reply. I'll take a look at that hook.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-62089</link>
			<pubDate>Mon, 11 Jun 2012 09:28:08 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">62089@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Check out our Developer Docs, you'll specifically want to look at Form Loading&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Developer_Docs&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Developer_Docs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I would think our hook Gform_pre_render might help you: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stevorevo on "Dynamic population from variable fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-from-variable-fields#post-61920</link>
			<pubDate>Fri, 08 Jun 2012 11:13:49 +0000</pubDate>
			<dc:creator>stevorevo</dc:creator>
			<guid isPermaLink="false">61920@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I should probably clarify a bit more. I'm using create_function, because the function name must contain the field name. So I was using create_function to dynamically create functions based on the field name(s). Is there any way I can use just one generic function, and pass in the field name as a parameter?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
