<?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: Adding new custom field type</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-new-custom-field-type</link>
		<description>Gravity Support Forums Topic: Adding new custom field type</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 10:04:50 +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/adding-new-custom-field-type" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Adding new custom field type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-new-custom-field-type#post-27485</link>
			<pubDate>Thu, 09 Jun 2011 20:48:27 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">27485@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You are pretty close. The next step is to add the code to create the pre-populated drop down inside the ih_gform_field_input() function. That function should return the string containing the &#38;lt;select&#38;gt; input populated with all years you want to be displayed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jorgep on "Adding new custom field type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-new-custom-field-type#post-27401</link>
			<pubDate>Thu, 09 Jun 2011 09:08:58 +0000</pubDate>
			<dc:creator>jorgep</dc:creator>
			<guid isPermaLink="false">27401@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here's the code for what I'm trying to do... &#60;a href=&#34;https://gist.github.com/1016695&#34; rel=&#34;nofollow&#34;&#62;https://gist.github.com/1016695&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jorgep on "Adding new custom field type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-new-custom-field-type#post-27400</link>
			<pubDate>Thu, 09 Jun 2011 09:06:09 +0000</pubDate>
			<dc:creator>jorgep</dc:creator>
			<guid isPermaLink="false">27400@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've been playing with the hooks all night, but I still can't find a way to create a custom field the way I want.&#60;/p&#62;
&#60;p&#62;Technical question:&#60;br /&#62;
I'm using gform_add_field_buttons to add a new button, which has onclick = &#34;StartAddField('vehicleyear')&#34;. When I click on the new button, it adds the field but I can't edit it. Is there a way to create a pre-propulated select field?&#60;/p&#62;
&#60;p&#62;Background:&#60;br /&#62;
I'm setting up a insurance quote form for my client, and they want the vehicle year and model to be pulled form somewhere else. I also want to make it extremely easy for them to customize the form.&#60;/p&#62;
&#60;p&#62;My plan was to create a new button group called &#34;Insurance Fields&#34; and add the two buttons there for year and model. When they click on the button, it'd create a select type with everything pre-populated so they don't have to touch anything else.&#60;/p&#62;
&#60;p&#62;So far I've got the new button groups setup but I'm having problems creating the fields.&#60;/p&#62;
&#60;p&#62;Do you have an example/demo that explain how to use the hooks to get the result that I'm looking for?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
