<?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: Inactive Column options do not include custom field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field</link>
		<description>Gravity Support Forums Topic: Inactive Column options do not include custom field</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:27:54 +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/inactive-column-options-do-not-include-custom-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-110576</link>
			<pubDate>Sat, 29 Dec 2012 12:54:55 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">110576@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>weevie833 on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-109961</link>
			<pubDate>Fri, 28 Dec 2012 15:56:30 +0000</pubDate>
			<dc:creator>weevie833</dc:creator>
			<guid isPermaLink="false">109961@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Works great! Thank you, Chris. Please mark as RESOLVED.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108540</link>
			<pubDate>Wed, 26 Dec 2012 18:04:42 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">108540@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I imported your form.  Here is a screenshot of the result of an entry created after adding the code. Screenshot &#60;a href=&#34;http://minus.com/lvYWx6LAWclU5&#34; rel=&#34;nofollow&#34;&#62;http://minus.com/lvYWx6LAWclU5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is the code I used to do that: &#60;a href=&#34;http://pastebin.com/0UNywrTx&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/0UNywrTx&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Let me know if that helps you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108527</link>
			<pubDate>Wed, 26 Dec 2012 17:13:22 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">108527@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Your last PHP statement there is invalid and will never work. I'm not sure what that statement is trying to say.&#60;/p&#62;
&#60;p&#62;Please export that form as XML and send it attached to an email to &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; and I will help you with the field IDs.&#60;/p&#62;
&#60;p&#62;To dump the values, add &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
print_r($_POST);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to the function where you are trying to populate the values.  That will dump to the browser (usually) the output of the $_POST object.  You might have to view the source of the page after you submit the form to see that the $_POST contains.  This is just a temporary step to take a look at the object and figure out how to access all the values in the array.  If you want to do it on a more permanent basis, we could set it up to log the values, not return them to the screen.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>weevie833 on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108507</link>
			<pubDate>Wed, 26 Dec 2012 16:20:49 +0000</pubDate>
			<dc:creator>weevie833</dc:creator>
			<guid isPermaLink="false">108507@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I created a test form with only two fields: custom field for extended name and the standard Name field. I modified your suggested function and the data does not copy. I wish I knew how you arrived at the field decimals. I don't know how to do a dump to get this information, so I take it that the decimals refer to the Field ID that is generated when the form is created. In this case the extended name has five metaboxes (Prefix, First, MI, Last, Suffix) and has an ID of 1, and the standard Name field is ID 2. I tried the string below in a variety of arrangements (source/destination reversed) with no luck. thx - Steve&#60;/p&#62;
&#60;p&#62;FYI, I am only trying to COPY the name data, not transfer it.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$_POST[&#38;#39;input_1.3&#38;#39;] . $_POST[&#38;#39;input_1.6&#38;#39;] = $_POST[&#38;#39;input_2.1&#38;#39;] . $_POST[&#38;#39;input_2.2&#38;#39;];&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108449</link>
			<pubDate>Wed, 26 Dec 2012 15:02:00 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">108449@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Be sure to quote the field numbers if they contain a decimal, like 20.3 or 20.6.&#60;/p&#62;
&#60;p&#62;You list field will be an array.  To get the values and field IDs, I would dump the $_POST object in your function (use either var_dump($_POST) or print_r($_POST)) and in that you will see the exact field numbers you need to query.&#60;/p&#62;
&#60;p&#62;If you add a print_r or var_dump to your function which is hooked to gform_pre_submission, it will normally be echo'd to the screen.  This is just a debugging step, just to get the proper field ID to access your values.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108447</link>
			<pubDate>Wed, 26 Dec 2012 15:00:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">108447@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If the name field in your form is field 20, then first name is '20.3' and last name is '20.6'.  You can concatenate them in your PHP function like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
// this would apply to form 5
// change the 5 to your form ID
add_action(&#38;quot;gform_pre_submission_5&#38;quot;, &#38;quot;add_name&#38;quot;);
function add_name($form) {
  // there is a space between the two names in &#38;quot; &#38;quot;
  // this will populate field 14 with the first
  // and last names from field 20
  $_POST[&#38;#39;input_14&#38;#39;] = $_POST[&#38;#39;input_20.3&#38;#39;] . &#38;quot; &#38;quot; . $_POST[&#38;#39;input_20.6&#38;#39;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Does that help?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>weevie833 on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108432</link>
			<pubDate>Wed, 26 Dec 2012 14:41:29 +0000</pubDate>
			<dc:creator>weevie833</dc:creator>
			<guid isPermaLink="false">108432@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks. Still not sure how to hook the values from the Custom Field into the First Name/LastName fields of a standard Name field. The Custom Field has an assigned name &#34;fullname&#34;. How do I query list items 2 and 4 (first name/lastname) and then dynamically populate a standard Name field? My previous code attempts have been deleted, but I don't think I was even close. I think I could put together a PHP solution if I knew how to hook what I wanted.&#60;/p&#62;
&#60;p&#62;My guess is that the answer is in the line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$_POST[&#38;quot;input_14&#38;quot;] = &#38;quot;new value for field 14&#38;quot;;&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108400</link>
			<pubDate>Wed, 26 Dec 2012 13:41:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">108400@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Steve.  #2 is probably the easiest.  You can use the gform_pre_submission filter to copy the value from one field to another.  &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Can you show us what code you have already tried?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>weevie833 on "Inactive Column options do not include custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/inactive-column-options-do-not-include-custom-field#post-108383</link>
			<pubDate>Wed, 26 Dec 2012 13:10:50 +0000</pubDate>
			<dc:creator>weevie833</dc:creator>
			<guid isPermaLink="false">108383@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am working around the Name field limitation which cannot include a Middle Initial by creating a Custom Field. The Custom Field is set as a List with 5 columns: Prefix, First, Middle initial, Last, Suffix. This field, however, does not appear as a column heading option in Inactive Columns so that the name data can be displayed as form entry data. This is vital.&#60;/p&#62;
&#60;p&#62;This problem could be solved in a number of ways - please advise:&#60;br /&#62;
1 - Modify the original Name field to include Middle Initial (seems like this is not an option, but desperately needed)&#60;br /&#62;
2- Pass the Custom Field data to pre-populate a hidden Name field which could be used as a column heading in the Entries admin (can't figure out how to do this - I tried like heck, both shortcodes and PHP)&#60;br /&#62;
3- Include the Custom Field values for First and Last atop the columns in the Entries display. (values not available to drag into Active).&#60;/p&#62;
&#60;p&#62;Thanks - Steve
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
