<?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: Can I get a label by field ID in a pre-submission filter?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/can-i-get-a-label-by-field-id-in-a-pre-submission-filter</link>
		<description>Gravity Support Forums Topic: Can I get a label by field ID in a pre-submission filter?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:29:23 +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/can-i-get-a-label-by-field-id-in-a-pre-submission-filter" rel="self" type="application/rss+xml" />

		<item>
			<title>sydeburn on "Can I get a label by field ID in a pre-submission filter?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-get-a-label-by-field-id-in-a-pre-submission-filter#post-120947</link>
			<pubDate>Sun, 13 Jan 2013 15:57:00 +0000</pubDate>
			<dc:creator>sydeburn</dc:creator>
			<guid isPermaLink="false">120947@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a gform_pre_submission_filter. I am using it to do calculations among other things and I would like to save the label of one field as part of the value of another field.  I know from your documentation that I can get the label of a field using the index of that field like this:&#60;/p&#62;
&#60;p&#62;$myText = $form['fields'][3]['label'];&#60;/p&#62;
&#60;p&#62;Is there a way to get the label using the field ID instead?   My form will be a large multi-page from and getting the field ID will be easier than getting the index.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
