<?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: pre populate fields using hooks and user registration</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-fields-using-hooks-and-user-registration</link>
		<description>Gravity Support Forums Topic: pre populate fields using hooks and user registration</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 11:12:57 +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/pre-populate-fields-using-hooks-and-user-registration" rel="self" type="application/rss+xml" />

		<item>
			<title>obvio on "pre populate fields using hooks and user registration"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-fields-using-hooks-and-user-registration#post-19202</link>
			<pubDate>Tue, 22 Feb 2011 19:38:38 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">19202@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "pre populate fields using hooks and user registration"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-fields-using-hooks-and-user-registration#post-19199</link>
			<pubDate>Tue, 22 Feb 2011 19:16:32 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">19199@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;ul&#62;
&#60;li&#62;1 - Here is another way to populate user meta into a field: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/right-parameter-names-to-pre-populate-the-names-fields#post-16420&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/right-parameter-names-to-pre-populate-the-names-fields#post-16420&#60;/a&#62;
&#60;p&#62;If you are already comfortable with code, using the gform_pre_render hook may be the faster way to complete this. There is no pre-built function that does this currently.&#60;/li&#62;
&#60;li&#62;2 - You should only need to update the defaultValue property.&#60;/li&#62;
&#60;li&#62;3 - There is no pre-built function for this either. Though if you take a look at the code provided for item 1, the filter used there might replace your need for such a function.&#60;/li&#62;
&#60;p&#62;Let me know if you have any more questions on this. :)&#60;/ul&#62;</description>
		</item>
		<item>
			<title>obvio on "pre populate fields using hooks and user registration"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-fields-using-hooks-and-user-registration#post-19197</link>
			<pubDate>Tue, 22 Feb 2011 19:00:57 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">19197@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;First: great work, its the best piece of software I ever bought in my life, thanks for that!&#60;/p&#62;
&#60;p&#62;I'm trying to put into use the user reg. add-on and while being able to use the form for registratating I would also like to use another form letting the user edit his own details (don't want them to go to wp-admin..). So I managed to use the gform_pre_render_ID and get/edit/return the form with the already saved used details but my questions are as follow:&#60;/p&#62;
&#60;p&#62;1. is there a better/shorter way? something i'm missing to take the user to the registration form with all his details pre-populated and just save it there?&#60;/p&#62;
&#60;p&#62;case not:&#60;br /&#62;
2. should I overwrite in the fields array &#34;content&#34; AND &#34;defaultValue&#34; or only is enough/efficient, case so which?&#60;br /&#62;
3. is there some convenience static function to edit those fields? something like &#60;code&#62;overwrite(fieldID,newValue)&#60;/code&#62;?&#60;/p&#62;
&#60;p&#62;Thats it.. thanks again!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
