<?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: Stored Data Structure</title>
		<link>https://legacy.forums.gravityhelp.com/topic/stored-data-structure</link>
		<description>Gravity Support Forums Topic: Stored Data Structure</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:50:10 +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/stored-data-structure" rel="self" type="application/rss+xml" />

		<item>
			<title>Bawn on "Stored Data Structure"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/stored-data-structure#post-54710</link>
			<pubDate>Tue, 10 Apr 2012 03:31:24 +0000</pubDate>
			<dc:creator>Bawn</dc:creator>
			<guid isPermaLink="false">54710@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the reply.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Stored Data Structure"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/stored-data-structure#post-54614</link>
			<pubDate>Mon, 09 Apr 2012 11:16:27 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">54614@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In Gravity Forms, there are two main tables that hold entry (lead) information. wp_rg_lead and wp_rg_lead_detail. wp_rg_lead holds one record for each entry. It has basic entry data such as id, date created, status, etc..., but it doesn't hold the actual field values. Those are stored in the wp_rg_lead_detail table. One record will be created for each field in your form. So, lets say you submit a form that has a name and email fields. The following will happen:&#60;/p&#62;
&#60;p&#62;Note: This is a simplified version of the tables. In reality, they have many other columns, but this is the basic structure&#60;br /&#62;
-----------------------------------------------------------&#60;br /&#62;
wp_rg_lead&#60;br /&#62;
id    date_created&#60;br /&#62;
1        2012-4-9&#60;br /&#62;
-----------------------------------------------------------&#60;br /&#62;
wp_rg_lead_detail&#60;br /&#62;
id     lead_id     field_number (field_id)      value&#60;br /&#62;
1         1                1                                  David&#60;br /&#62;
2        1                2                                 &#60;a href=&#34;mailto:david@domain.com&#34;&#62;david@domain.com&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bawn on "Stored Data Structure"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/stored-data-structure#post-54587</link>
			<pubDate>Mon, 09 Apr 2012 04:31:21 +0000</pubDate>
			<dc:creator>Bawn</dc:creator>
			<guid isPermaLink="false">54587@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi.  I am becoming very interested in this plugin after reading a lot of great reviews online but before I buy I have some questions.  I will start with this one...&#60;br /&#62;
What is the structure of the data stored in the database?  For example:  If I type my name into a form and press submit, what would show up in the database?&#60;/p&#62;
&#60;p&#62;I have been using other plugins for forms recently and the data structure is not to my liking.&#60;br /&#62;
This is some of what was in the db when I entered my name into a form ad pressed submit.&#60;br /&#62;
s:2:&#34;id&#34;;s:2:&#34;33&#34;;s:5:&#34;label&#34;;s:4:&#34;Name&#34;;s:5:&#34;value&#34;;s:5:&#34;David&#34;;&#60;br /&#62;
The only values I am really interested in here are the label (Name) and the entered data (David).&#60;br /&#62;
Does GF Store it in an more easily accessible manner?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
