<?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: Get value of checkbox after user registration</title>
		<link>https://legacy.forums.gravityhelp.com/topic/get-value-of-checkbox-after-user-registration</link>
		<description>Gravity Support Forums Topic: Get value of checkbox after user registration</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:45: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/get-value-of-checkbox-after-user-registration" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Get value of checkbox after user registration"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-value-of-checkbox-after-user-registration#post-105452</link>
			<pubDate>Fri, 21 Dec 2012 14:51:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">105452@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Dump the $entry as a debugging step (either var_dump($entry) or print_r($entry) and see what values it contains, so you know how to access it.  Please post the contents of the $entry object at pastebin.com or pastie.org if you need help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>g01010 on "Get value of checkbox after user registration"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-value-of-checkbox-after-user-registration#post-105373</link>
			<pubDate>Fri, 21 Dec 2012 10:43:15 +0000</pubDate>
			<dc:creator>g01010</dc:creator>
			<guid isPermaLink="false">105373@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I've got this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_user_registered&#38;quot;, &#38;quot;process_order&#38;quot;, 10, 4);

function process_order($user_id, $config, $entry, $user_pass) {
    // get first and last name from $entry
    $order_id = $entry[&#38;#39;id&#38;#39;];
    $quantity = $entry[&#38;#39;8&#38;#39;];
    $refresher = $entry[&#38;#39;15&#38;#39;];
    $tx = $entry[&#38;#39;transaction_id&#38;#39;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;$entry[&#38;#39;15&#38;#39;]&#60;/code&#62; is a checkbox field. I can successfully get the value of the other fields but not of the checkbox - is there something different I need to do for that type of field?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
