<?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: populate drop down with wp_list_categories</title>
		<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories</link>
		<description>Gravity Support Forums Topic: populate drop down with wp_list_categories</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 10:48:18 +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/populate-drop-down-with-wp_list_categories" rel="self" type="application/rss+xml" />

		<item>
			<title>JayFec on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-59065</link>
			<pubDate>Tue, 15 May 2012 16:01:21 +0000</pubDate>
			<dc:creator>JayFec</dc:creator>
			<guid isPermaLink="false">59065@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome support from these guys. Thanks! &#60;a href=&#34;http://pastebin.com/b1uWnLTw&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/b1uWnLTw&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-59022</link>
			<pubDate>Tue, 15 May 2012 14:06:47 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">59022@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So, filling in the categories into the dropdowns wasn't the hard part. Having the categories linked in the entries page and for front end display was more difficult, but I was able to figure it out. Check out the following code and hopefully it will help others:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/rbepWh1G&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/rbepWh1G&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JayFec on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-58671</link>
			<pubDate>Fri, 11 May 2012 10:49:11 +0000</pubDate>
			<dc:creator>JayFec</dc:creator>
			<guid isPermaLink="false">58671@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Info sent, thanks David.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-58659</link>
			<pubDate>Fri, 11 May 2012 08:53:37 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">58659@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you send me the details at &#60;a href=&#34;mailto:peralty@rocketgenius.com&#34;&#62;peralty@rocketgenius.com&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JayFec on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-58658</link>
			<pubDate>Fri, 11 May 2012 08:44:21 +0000</pubDate>
			<dc:creator>JayFec</dc:creator>
			<guid isPermaLink="false">58658@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Its me again :). Form is now on a live server and lo and behold, the entries are now being saved, however the permalink's are being stripped from it. Any suggestions? I have a log in created if someone would like to look.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JayFec on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-58408</link>
			<pubDate>Wed, 09 May 2012 14:53:25 +0000</pubDate>
			<dc:creator>JayFec</dc:creator>
			<guid isPermaLink="false">58408@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David, &#60;/p&#62;
&#60;p&#62;It is currently on a testing environment, but I will be glad to set it up live if you can take the time to look at it. If you can provide me an email, I will send you a link with log in details as soon as I get it set up.&#60;/p&#62;
&#60;p&#62;Thanks in advance
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-58406</link>
			<pubDate>Wed, 09 May 2012 14:50:00 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">58406@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi JayFec,&#60;/p&#62;
&#60;p&#62;I've re-read this thread and I'm still not 100% sure what you are trying to accomplish. To address your last question, if you are using a drop down field you should not have to repopulate the custom field values on the pre-submission filter; that only applies to checkboxes.&#60;/p&#62;
&#60;p&#62;Do you have a live example where we could preview your form and hopefully get a better idea of the end goal?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JayFec on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-58317</link>
			<pubDate>Wed, 09 May 2012 10:09:20 +0000</pubDate>
			<dc:creator>JayFec</dc:creator>
			<guid isPermaLink="false">58317@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Im still at it.  I still cant get the field to save in the entries once it is submitted. This is what I have so far in addition to the code above.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_4&#38;quot;, &#38;quot;pre_submission_handler&#38;quot;);
function pre_submission_handler($form){
$category = get_categories();
foreach((get_the_category()) as $category)
    $_POST[&#38;quot;input_10&#38;quot;] = &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39;.$category-&#38;gt;cat_ID .&#38;#39;&#38;quot;&#38;gt;&#38;#39;.$category[0]-&#38;gt;cat_name.&#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here is a similar question.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/dynamically-populated-checkboxes-not-saved&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/dynamically-populated-checkboxes-not-saved&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JayFec on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-57614</link>
			<pubDate>Thu, 03 May 2012 12:14:03 +0000</pubDate>
			<dc:creator>JayFec</dc:creator>
			<guid isPermaLink="false">57614@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any suggestions on why the entry submission for that particular field is not being saved to the entries or where I should start looking? Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JayFec on "populate drop down with wp_list_categories"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-with-wp_list_categories#post-57452</link>
			<pubDate>Wed, 02 May 2012 13:40:33 +0000</pubDate>
			<dc:creator>JayFec</dc:creator>
			<guid isPermaLink="false">57452@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not creating a post for each entry. Its a spread sheet that displays on the front end and is updated by the user. Plus I want to automatically link the category that is selected to their designated category page, So when the results are displayed on the front end, the category is a link to its category page :). Thanks for looking at it
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
