<?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: enum values</title>
		<link>https://legacy.forums.gravityhelp.com/topic/enum-values</link>
		<description>Gravity Support Forums Topic: enum values</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 00:19:53 +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/enum-values" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "enum values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enum-values#post-60643</link>
			<pubDate>Tue, 29 May 2012 12:09:47 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">60643@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you would like to dynamically populate a drop down field on your form using values from a custom database or custom tables, you can do so by dynamically populating the field using available hooks and custom PHP.  &#60;/p&#62;
&#60;p&#62;This would only allow you to populate the drop down options, the form is still going to store it's data in the Gravity Forms entry tables unless you customize it further to behave otherwise.&#60;/p&#62;
&#60;p&#62;Here is information on how to dynamically populate a drop down using PHP:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>strmiba on "enum values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enum-values#post-60606</link>
			<pubDate>Tue, 29 May 2012 09:07:48 +0000</pubDate>
			<dc:creator>strmiba</dc:creator>
			<guid isPermaLink="false">60606@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm locking for a plugin that can handle my custom table with enum-fields in. I would like to have a form that builds a drop-down list from the enum values that already excist in the table.&#60;/p&#62;
&#60;p&#62;Like this php:&#60;/p&#62;
&#60;p&#62;$result = mysql_query(&#34;SELECT COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS&#60;br /&#62;
    WHERE TABLE_NAME = '$table_name' AND COLUMN_NAME = '$column_name'&#34;)&#60;br /&#62;
or die (mysql_error());&#60;br /&#62;
$row = mysql_fetch_array($result);&#60;br /&#62;
$enumList = explode(&#34;,&#34;, str_replace(&#34;'&#34;, &#34;&#34;, substr($row['COLUMN_TYPE'], 5, (strlen($row['COLUMN_TYPE'])-6))));&#60;br /&#62;
foreach($enumList as $value)&#60;br /&#62;
   echo &#34;[option value=$value]$value[/option]&#34;;&#60;br /&#62;
echo &#34;[/select]&#34;;&#60;/p&#62;
&#60;p&#62;All the best,&#60;/p&#62;
&#60;p&#62;Mikael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "enum values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enum-values#post-60603</link>
			<pubDate>Tue, 29 May 2012 08:58:00 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">60603@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you explain more about what you are trying to do, please?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>strmiba on "enum values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enum-values#post-60589</link>
			<pubDate>Tue, 29 May 2012 03:54:44 +0000</pubDate>
			<dc:creator>strmiba</dc:creator>
			<guid isPermaLink="false">60589@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;May I use enum values from a custom table in forms made with Gravity Forms?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
