<?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: Inserting select option &#039;name&#039;  via functions.php</title>
		<link>https://legacy.forums.gravityhelp.com/topic/inserting-select-option-name-via-functionsphp</link>
		<description>Gravity Support Forums Topic: Inserting select option &#039;name&#039;  via functions.php</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 13:28:37 +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/inserting-select-option-name-via-functionsphp" rel="self" type="application/rss+xml" />

		<item>
			<title>GE on "Inserting select option &#039;name&#039;  via functions.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inserting-select-option-name-via-functionsphp#post-232212</link>
			<pubDate>Wed, 01 May 2013 12:15:24 +0000</pubDate>
			<dc:creator>GE</dc:creator>
			<guid isPermaLink="false">232212@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I realized for now that because of the order I wish to display this information, I can simply use the merge tag and deal with the other fields with code. On this particular form, my select field comes immediate after the body.&#60;/p&#62;
&#60;p&#62;But I'd still like to understand how to do this with php code. Later I will need to reposition the order of my fields, where a select field comes after fields I am already addressing in code.&#60;/p&#62;
&#60;p&#62;Any help would be much appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GE on "Inserting select option &#039;name&#039;  via functions.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inserting-select-option-name-via-functionsphp#post-231857</link>
			<pubDate>Wed, 01 May 2013 04:54:07 +0000</pubDate>
			<dc:creator>GE</dc:creator>
			<guid isPermaLink="false">231857@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm totally new to php and learning all this on the fly. I've added a number of optional fields and insert them into the Custom Template via code in my functions.php. &#60;/p&#62;
&#60;p&#62;With trial and error, I have everything working and formatted the way I want. &#60;/p&#62;
&#60;p&#62;However, I can't seem to figure out how to pull the actual name of a select option. It just prints the value. Can someone point me in the right direction?&#60;/p&#62;
&#60;p&#62;I'm using this:&#60;/p&#62;
&#60;p&#62;$post-&#38;gt;post_content = &#34;$post-&#38;gt;post_content\n&#38;lt;i&#38;gt;$entry[3]&#38;lt;/i&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;But it just prints the number.&#60;/p&#62;
&#60;p&#62;Thanks in advance for the help.&#60;/p&#62;
&#60;p&#62;Awesome plugin. Truly the best!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
