<?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: Dynamically populating Radio Buttons with featured image from Custom Post Type</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-radio-buttons-with-featured-image-from-custom-post-type</link>
		<description>Gravity Support Forums Topic: Dynamically populating Radio Buttons with featured image from Custom Post Type</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:22:04 +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/dynamically-populating-radio-buttons-with-featured-image-from-custom-post-type" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamically populating Radio Buttons with featured image from Custom Post Type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-radio-buttons-with-featured-image-from-custom-post-type#post-169682</link>
			<pubDate>Wed, 13 Mar 2013 07:10:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">169682@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I see what you mean now.  You would use the same process as populating a drop down, but you would populate the label for the radio button with the html for the image, and the value of the radio button with your value.  I did not find any examples here of anyone doing the same, but I did find this:  &#60;a href=&#34;http://wpsmith.net/2012/plugins/how-to-pre-populate-a-radio-select-field-in-gravity-forms-based-on-previous-inputs/&#34; rel=&#34;nofollow&#34;&#62;http://wpsmith.net/2012/plugins/how-to-pre-populate-a-radio-select-field-in-gravity-forms-based-on-previous-inputs/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;In this code from that page: &#60;a href=&#34;https://gist.github.com/wpsmith/2790690/raw/b5a83a3f86e502e85f4e4d5a58964f5ba3c67bba/prepopulate_radio.php&#34; rel=&#34;nofollow&#34;&#62;https://gist.github.com/wpsmith/2790690/raw/b5a83a3f86e502e85f4e4d5a58964f5ba3c67bba/prepopulate_radio.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;he shows how to populate radio buttons.  You could combine what you know about populating a drop down with custom post names with this explanation of how to populate radio buttons.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>demo38 on "Dynamically populating Radio Buttons with featured image from Custom Post Type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-radio-buttons-with-featured-image-from-custom-post-type#post-166035</link>
			<pubDate>Sat, 09 Mar 2013 15:19:53 +0000</pubDate>
			<dc:creator>demo38</dc:creator>
			<guid isPermaLink="false">166035@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Or, any other way to dynamically set radio button choices with images?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>demo38 on "Dynamically populating Radio Buttons with featured image from Custom Post Type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-radio-buttons-with-featured-image-from-custom-post-type#post-162490</link>
			<pubDate>Wed, 06 Mar 2013 23:14:51 +0000</pubDate>
			<dc:creator>demo38</dc:creator>
			<guid isPermaLink="false">162490@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;br /&#62;
Thanks for the link - but this is actually the opposite of that. I'm looking for a way to pull the featured images from a collection of custom post type posts into a radio button field as the radio buttons.&#60;/p&#62;
&#60;p&#62;Basically providing a way to dynamically show available stock items that will change, that users can select from visually while completing the form.&#60;/p&#62;
&#60;p&#62;Any insight on accomplishing?&#60;/p&#62;
&#60;p&#62;Thank you,&#60;br /&#62;
Jonathon
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamically populating Radio Buttons with featured image from Custom Post Type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-radio-buttons-with-featured-image-from-custom-post-type#post-162136</link>
			<pubDate>Wed, 06 Mar 2013 12:44:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">162136@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just explained something very similar, to set the featured image on a post from a radio button selection in the form.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/display-featured-image-selection-based-on-conditional-logic#post-162117&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/display-featured-image-selection-based-on-conditional-logic#post-162117&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That code will probably help with at least some of your project.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>demo38 on "Dynamically populating Radio Buttons with featured image from Custom Post Type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-radio-buttons-with-featured-image-from-custom-post-type#post-162076</link>
			<pubDate>Wed, 06 Mar 2013 11:54:05 +0000</pubDate>
			<dc:creator>demo38</dc:creator>
			<guid isPermaLink="false">162076@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm looking for a way to allow users to select an image which gets pulled in from a custom post type's featured image.&#60;/p&#62;
&#60;p&#62;For instance, I have a custom post type for adding / removing the images and related info.&#60;/p&#62;
&#60;p&#62;The form would then need to pull in all of the items within that custom post type, and dynamically load their featured images as radio button selections in the radio button field for users to choose from.&#60;/p&#62;
&#60;p&#62;I know I can add HTML to a radio button label, and how to dynamically load custom post type names into a drop down, but not sure how I would dynamically load in the featured images as radio buttons. Any thoughts on how I could build that out with GF?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
J
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
