<?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: getting to values in form in php code</title>
		<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code</link>
		<description>Gravity Support Forums Topic: getting to values in form in php code</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:00:06 +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/getting-to-values-in-form-in-php-code" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "getting to values in form in php code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code#post-11809</link>
			<pubDate>Fri, 29 Oct 2010 18:26:45 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">11809@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Nevermind, found this thread...&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/gravity-forms-wordpress-registration#post-10779&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/gravity-forms-wordpress-registration#post-10779&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "getting to values in form in php code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code#post-11808</link>
			<pubDate>Fri, 29 Oct 2010 18:23:58 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">11808@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Were you able to figure this out? I'd love a way to have a user created upon form submission.  Carl, I heard that you're planning on supporting user registration in the next release. Is this true?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Krystian on "getting to values in form in php code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code#post-10560</link>
			<pubDate>Wed, 29 Sep 2010 11:43:29 +0000</pubDate>
			<dc:creator>Krystian</dc:creator>
			<guid isPermaLink="false">10560@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is my first adventure with wordpress.&#60;br /&#62;
Can you give me some sample code of such a thing?&#60;br /&#62;
Now I know how to add new user in other way - not by the values of my registration form.&#60;br /&#62;
I wrote simple so far plugin.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;php
require_once(ABSPATH . WPINC . &#38;#39;/registration.php&#38;#39;);
add_action(&#38;quot;gform_pre_submission&#38;quot;, &#38;quot;pre_submission_handler&#38;quot;);
function pre_submission_handler($form_meta){
$userdata = array(
  &#38;#39;user_login&#38;#39; =&#38;gt; &#38;#39;login&#38;#39;,
  &#38;#39;user_email&#38;#39; =&#38;gt; &#38;#39;email@o2.pl&#38;#39;,
  &#38;#39;user_pass&#38;#39; =&#38;gt; &#38;#39;pass&#38;#39;,
  &#38;#39;description&#38;#39; =&#38;gt; var_export($form_meta, true)
);
wp_insert_user($userdata);
    //wp_create_user(&#38;#39;username&#38;#39;, &#38;#39;password&#38;#39;, $form_meta);
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "getting to values in form in php code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code#post-10556</link>
			<pubDate>Wed, 29 Sep 2010 11:22:32 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">10556@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You have to use a hook to implement your code after the form has been submitted. &#60;/p&#62;
&#60;p&#62;There is a gform_post_submission hook that lets you do execute custom code after the form has been submitted.&#60;/p&#62;
&#60;p&#62;The gform_post_submission hook has access to the $form object and the $entry object so you can access both the raw data from the form itself as well as the entry that was created.&#60;/p&#62;
&#60;p&#62;Doing user registration is going to be fairly advanced, how comfortable are you with WordPress development and using hooks?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Krystian on "getting to values in form in php code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code#post-10535</link>
			<pubDate>Wed, 29 Sep 2010 06:08:53 +0000</pubDate>
			<dc:creator>Krystian</dc:creator>
			<guid isPermaLink="false">10535@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;yes
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "getting to values in form in php code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code#post-10514</link>
			<pubDate>Tue, 28 Sep 2010 18:04:06 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">10514@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Are you wanting to get the form field values after the form is submitted so that you can then run custom code after the form has been submitted to create a user?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>john_doe on "getting to values in form in php code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/getting-to-values-in-form-in-php-code#post-10513</link>
			<pubDate>Tue, 28 Sep 2010 18:02:20 +0000</pubDate>
			<dc:creator>john_doe</dc:creator>
			<guid isPermaLink="false">10513@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I created some form using GravityForms. Now I`m in the middle of creating my 1st plugin which will be responsible for creating new user, send my form and create user.&#60;br /&#62;
The question is How to get the values from form created by GravityForms.&#60;br /&#62;
Is there sometning like key=&#38;gt;vlaue ???&#60;/p&#62;
&#60;p&#62;Best Regards
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
