<?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: Unable to save selected values from checkboxes field in database</title>
		<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database</link>
		<description>Gravity Support Forums Topic: Unable to save selected values from checkboxes field in database</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 08:24:14 +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/unable-to-save-selected-values-from-checkboxes-field-in-database" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-137971</link>
			<pubDate>Thu, 31 Jan 2013 23:09:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">137971@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No problem.  Thank you for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mikc03 on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-137489</link>
			<pubDate>Thu, 31 Jan 2013 11:22:16 +0000</pubDate>
			<dc:creator>mikc03</dc:creator>
			<guid isPermaLink="false">137489@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris, I really appreciate your help.&#60;/p&#62;
&#60;p&#62;That's exacly what I ended up doing. I skipped multiples of 10. It's a hack, but it works :).&#60;/p&#62;
&#60;p&#62;Your sugested code for updating the entry is good. That's what I ended up doing as well.&#60;/p&#62;
&#60;p&#62;Thank your very much for following up on this.&#60;/p&#62;
&#60;p&#62;Have a great day!&#60;br /&#62;
RB
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-137316</link>
			<pubDate>Thu, 31 Jan 2013 07:37:59 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">137316@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Regarding this:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
What is the best way to update the created entry (in database) after the user submits the registartion form?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;You will have to update the database directly, with a function hooked to gform_user_created maybe.  Here is code I provided a while back, to update an entry with information which was not available at the time the form was submitted: &#60;a href=&#34;http://pastebin.com/8jzCnSpK&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/8jzCnSpK&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-137314</link>
			<pubDate>Thu, 31 Jan 2013 07:28:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">137314@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The code in most places for checkboxes skips the multiples of ten when indexing, so you would go from 9 to 11.  See form_display.php, (around line 188 in my version):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
if($index % 10 == 0) //hack to skip numbers ending in 0. so that 5.1 doesn&#38;#39;t conflict with 5.10&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So, that is by design.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mikc03 on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-136604</link>
			<pubDate>Wed, 30 Jan 2013 14:49:34 +0000</pubDate>
			<dc:creator>mikc03</dc:creator>
			<guid isPermaLink="false">136604@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just FYI,&#60;/p&#62;
&#60;p&#62;While I was looking at the wp_rg_lead_detail table to figure out how to insert new attributes for the entry (lead), I noticed that the field_number is a float data type. &#60;/p&#62;
&#60;p&#62;There is a problem with that. If the field_number is 5.10, when it's stored in the databse, the trailing 0 is removed. So what is stored in the database is 5.1
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mikc03 on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-136545</link>
			<pubDate>Wed, 30 Jan 2013 13:21:23 +0000</pubDate>
			<dc:creator>mikc03</dc:creator>
			<guid isPermaLink="false">136545@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;The User Registration Add-on is one of the main reasons why I bought the Developer License of Gravity forms. &#60;/p&#62;
&#60;p&#62;But now, I'm stuck here and I can't finish the registration.&#60;/p&#62;
&#60;p&#62;I have to implement this functionality. And I have to do it using heirarchical checkboxes. I do not mind working on this for hours or even days, as long as I know I'm using the correct hooks and going in the right direction.&#60;/p&#62;
&#60;p&#62;So I just need any help or direction you guys can give me.&#60;/p&#62;
&#60;p&#62;Also, I might have found a way to implement this. One thing I still do not know is: What is the best way to update the created entry (in database) after the user submits the registartion form? I want to add other attributes to the entry after submission and save them to the database. And be able to retrieve the new attributes from the entry later.&#60;/p&#62;
&#60;p&#62;Thanks for your help,&#60;br /&#62;
RB
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mikc03 on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-135489</link>
			<pubDate>Tue, 29 Jan 2013 17:12:08 +0000</pubDate>
			<dc:creator>mikc03</dc:creator>
			<guid isPermaLink="false">135489@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Alex,&#60;/p&#62;
&#60;p&#62;Could you please let me know how to map checkboxes in the User Registration feed?&#60;br /&#62;
I do not see the Checkboxes in the User Registration feed page, where the gravity form fields are mapped to wordpress fields. So I'm not able to map the checkboxes field.&#60;/p&#62;
&#60;p&#62;Thanks for your help,&#60;br /&#62;
RB
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-135458</link>
			<pubDate>Tue, 29 Jan 2013 16:14:00 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">135458@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Checkboxes are surprisingly difficult fields to develop and manage, and what you are trying to do with them (dynamically populating them hierarchically) makes this even more complex. When you take that combination and try to then integrate it to the User Registration Add-On, I say it's too complex to tackle. I would have to spend hours trying to figure out what to do, and I am very familiar with Gravity Forms. What I suggest is that you take a different approach, using fields that are easier to manage such as radio buttons or drop downs. I understand it is not ideal, but I do think you will be banging your head against the wall trying to get this custom checkbox to work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mikc03 on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-135371</link>
			<pubDate>Tue, 29 Jan 2013 14:00:58 +0000</pubDate>
			<dc:creator>mikc03</dc:creator>
			<guid isPermaLink="false">135371@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris.&#60;/p&#62;
&#60;p&#62;Please let me know how soon will the development team take look at this. I'm really stuck here and can't move forword as I'm not able to complete the user registration with all the needed fields.&#60;/p&#62;
&#60;p&#62;I just need to know if my approach is correct or not. If I'm doing it wrong, what is the best way to dynamically populate heirarchical checkboxes that are included in the registration form? and how to change the html structure of the checkboxes in order to be able to display/style them in a heirarvhical format in the form?&#60;/p&#62;
&#60;p&#62;Some code snippets, if possible, would be great.&#60;/p&#62;
&#60;p&#62;Note: I do not see the Checkboxes in the Registration Add-on feed page, where the gravity form fields are mapped to wordpress fields. So I'm not able to map the checkboxes field. How do you map checkboxes? could this be the problem?&#60;br /&#62;
Under the custom fields section, I added my custom field &#34;custom categories&#34;, but in the matching dropdown on the right side, I do not see/know what field I shold map it to.&#60;/p&#62;
&#60;p&#62;Thank you very much,&#60;br /&#62;
RB
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Unable to save selected values from checkboxes field in database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-save-selected-values-from-checkboxes-field-in-database#post-135152</link>
			<pubDate>Tue, 29 Jan 2013 10:43:23 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">135152@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll bring this topic to the attention of the development team.  Thanks for sharing the code.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
