<?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 User Favorites: jossoway</title>
		<link><a href='https://legacy.forums.gravityhelp.com/profile/jossoway'>jossoway</a></link>
		<description>Gravity Support Forums User Favorites: jossoway</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:00:51 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-250848</link>
			<pubDate>Mon, 13 May 2013 12:47:18 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">250848@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you got it sorted out. I hope it helps others. Thanks for posting your solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jossoway on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-250235</link>
			<pubDate>Mon, 13 May 2013 06:08:19 +0000</pubDate>
			<dc:creator>jossoway</dc:creator>
			<guid isPermaLink="false">250235@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for pointing me in the right direction with this. I'm posting an example of my code here in case others need this solution:&#60;/p&#62;
&#60;p&#62;I went into the advanced tab of the relevant field (the dropdown list) and ticked 'Allow field to be populated dynamically' and gave the parameter a name. Then I opened up the relevant template and added this code at the location where I wanted the form to appear on the page:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$title = $post-&#38;gt;post_title;
echo do_shortcode(&#38;#39;[gravityform id=&#38;quot;1&#38;quot; field_values=&#38;quot;dropdown_field=&#38;#39;.$title.&#38;#39;&#38;quot;]&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jossoway on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-248967</link>
			<pubDate>Sun, 12 May 2013 07:45:18 +0000</pubDate>
			<dc:creator>jossoway</dc:creator>
			<guid isPermaLink="false">248967@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for this - am going to be working on it next week so I will let you know how i get on.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-175286</link>
			<pubDate>Mon, 18 Mar 2013 09:15:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">175286@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It will be much easier if you can put it in the template, especially if it is the same on every post, and is just inserted manually/identically every time.  If that's possible, we can come up with the code to pre-select that drop down option.  &#60;/p&#62;
&#60;p&#62;You could do it with the gform_field_value_your_parameter filter: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population#Hooks&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population#Hooks&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or you could put the value right in the shortcode if you embed the form like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
global $post;
$title = $post-&#38;gt;post_title;
echo do_shortcode(&#38;#39;[gravityform id=1 field_values=&#38;#39;dropdown_field=$title&#38;#39;]&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Something like that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jossoway on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-174976</link>
			<pubDate>Mon, 18 Mar 2013 04:52:28 +0000</pubDate>
			<dc:creator>jossoway</dc:creator>
			<guid isPermaLink="false">174976@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;The form has been inserted by my client onto the page using the shortcode function in the text editor toolbar, though if this is an issue I could probably put it into the template, as the form is going to be the same on all pages. I was just trying to give my client as much control over when to display the form as possible.&#60;/p&#62;
&#60;p&#62;Yes - the plan is for the post title to match one of the options in the drop-down exactly, and if they do match, then the drop-down option to be automatically selected.&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-174491</link>
			<pubDate>Sun, 17 Mar 2013 18:02:29 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">174491@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How are the forms getting embedded into the post?  And the post title will match the career exactly?  So, you have a post called &#34;Butcher&#34; and there is a form embedded in it, and you want the career drop down to be pre-selected &#34;Butcher&#34;?&#60;/p&#62;
&#60;p&#62;I guess it matters how the form is being embedded into the post to determine what is the easiest way to do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Populate dropdown dynamically - based on page id or name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-dropdown-dynamically-based-on-page-id-or-name#post-174470</link>
			<pubDate>Sun, 17 Mar 2013 17:27:02 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">174470@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the update Peter.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jossoway on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-172082</link>
			<pubDate>Fri, 15 Mar 2013 05:38:21 +0000</pubDate>
			<dc:creator>jossoway</dc:creator>
			<guid isPermaLink="false">172082@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;A client website I am working on has a job application form built using Gravity Forms. This form is displayed only on a WordPress custom post type called 'careers'. &#60;/p&#62;
&#60;p&#62;The form has a dropdown list of all currently available careers, which when selected changes the form options using conditional logic.&#60;/p&#62;
&#60;p&#62;Rather than someone having to manually edit this dropdown list, my client would like it to be pre-populated from all currently published 'careers' custom posts on the site. They would also like an item in the dropdown to be pre-selected, so that the selection matches the careers custom post title the form is currently being displayed on.&#60;/p&#62;
&#60;p&#62;I have just implemented the following for the first requirement and it works great:&#60;br /&#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;
&#60;p&#62;How would I extend this function to pre-select an option from the dropdown that matches the current custom post title?&#60;/p&#62;
&#60;p&#62;Thanks in advance!&#60;/p&#62;
&#60;p&#62;John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pmwebdev on "Populate dropdown dynamically - based on page id or name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-dropdown-dynamically-based-on-page-id-or-name#post-171478</link>
			<pubDate>Thu, 14 Mar 2013 18:47:44 +0000</pubDate>
			<dc:creator>pmwebdev</dc:creator>
			<guid isPermaLink="false">171478@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Merge tags were the answer - so thanks Chris. Regards, Peter.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Populate dropdown dynamically - based on page id or name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-dropdown-dynamically-based-on-page-id-or-name#post-170988</link>
			<pubDate>Thu, 14 Mar 2013 06:09:11 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">170988@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you have an example of this form online, and an explanation of how the post and the drop down are related?&#60;/p&#62;
&#60;p&#62;It might be as simple as using a a merge tag as the default value.  You could use {embed_post:post_title} to get the post/page title, or {embed_post:ID} to get the post ID.  Merge tags are documented here: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Merge_Tags&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Merge_Tags&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
