<?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: How do I create a custom field with dropdown choices?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-do-i-create-a-custom-field-with-dropdown-choices</link>
		<description>Gravity Support Forums Topic: How do I create a custom field with dropdown choices?</description>
		<language>en-US</language>
		<pubDate>Wed, 15 Apr 2026 03:15:56 +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/how-do-i-create-a-custom-field-with-dropdown-choices" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How do I create a custom field with dropdown choices?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-i-create-a-custom-field-with-dropdown-choices#post-111221</link>
			<pubDate>Sun, 30 Dec 2012 19:36:19 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">111221@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post a link to the page on your site where we can see the form, and paste your code at pastie.org or pastebin.com so we can see how you're using the functions?  Please post all the relevant code.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gravity01 on "How do I create a custom field with dropdown choices?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-i-create-a-custom-field-with-dropdown-choices#post-111170</link>
			<pubDate>Sun, 30 Dec 2012 16:06:05 +0000</pubDate>
			<dc:creator>gravity01</dc:creator>
			<guid isPermaLink="false">111170@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm creating a custom form field by hooking into gform_add_field_buttons on the backend.&#60;/p&#62;
&#60;p&#62;I am also trying to give it the same settings as dropdown in the sense that I would like to have the ability to add choices. I have added .choices_setting to the fieldSettings array for the particular field which gives me the choices label and the button to pre populate the choices (and also the enable choices checkbox)&#60;/p&#62;
&#60;p&#62;What it doesn't give me though is the initial three starting choices that the dropdown field gives me - all I get is and empty box here.&#60;/p&#62;
&#60;p&#62;The HTML being generated for this bit is&#60;br /&#62;
&#60;code&#62;&#38;lt;ul id=&#38;quot;field_choices&#38;quot;&#38;gt;&#38;lt;/ul&#38;gt;&#60;/code&#62; so GF is clearly not generating the choices by virtue of including the .choices_setting in the array.&#60;/p&#62;
&#60;p&#62;So, the question is - does anyone know how to get those initial default choices showing on a custom field?&#60;/p&#62;
&#60;p&#62;Cheers guys,&#60;br /&#62;
Chris
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
