<?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: Submitting Data to 3rd Party Required Name Attribute</title>
		<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute</link>
		<description>Gravity Support Forums Topic: Submitting Data to 3rd Party Required Name Attribute</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:14:07 +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/submitting-data-to-3rd-party-required-name-attribute" rel="self" type="application/rss+xml" />

		<item>
			<title>jfriedman on "Submitting Data to 3rd Party Required Name Attribute"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute#post-73062</link>
			<pubDate>Wed, 29 Aug 2012 09:03:58 +0000</pubDate>
			<dc:creator>jfriedman</dc:creator>
			<guid isPermaLink="false">73062@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Got it done, thanks for the help
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Submitting Data to 3rd Party Required Name Attribute"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute#post-72221</link>
			<pubDate>Thu, 23 Aug 2012 07:17:46 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">72221@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, I am not. Changing the input name with jQuery will mess things up. What I am suggesting is a way for you to create a new setting so that admin users can give fields a third party name. You can then use that third party name in the gform_after_submission hook to read the submitted field value without needing to know the field ID.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jfriedman on "Submitting Data to 3rd Party Required Name Attribute"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute#post-71983</link>
			<pubDate>Tue, 21 Aug 2012 17:26:22 +0000</pubDate>
			<dc:creator>jfriedman</dc:creator>
			<guid isPermaLink="false">71983@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just read this again, are you actually suggesting that I change the name attribute from &#34;input_1&#34; to &#34;first_name&#34; with jQuery? I did this once already but it broke validation.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Submitting Data to 3rd Party Required Name Attribute"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute#post-71981</link>
			<pubDate>Tue, 21 Aug 2012 17:22:40 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">71981@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Your first paragraph is correct.&#60;/p&#62;
&#60;p&#62;This information will not be stored in the $entry object and it won't be displayed in the HTML markup. You will get it from the $form object. So in your gform_after_submission hook, you will loop through the form[&#34;fields&#34;] array looking for your custom attribute (i.e. $form[&#34;fields&#34;][0][&#34;ThirdPartyName&#34;]). When you find the field, you can get the field ID and plug it into the $entry object to get the user submitted value.&#60;br /&#62;
This solution would work for existing and new forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jfriedman on "Submitting Data to 3rd Party Required Name Attribute"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute#post-71980</link>
			<pubDate>Tue, 21 Aug 2012 17:14:34 +0000</pubDate>
			<dc:creator>jfriedman</dc:creator>
			<guid isPermaLink="false">71980@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Alex&#60;/p&#62;
&#60;p&#62;I would prefer to do this with Option 2 since it seems more semantic. I understand that I'll be making a new field in the form field addition section right? So essentially under the &#34;Advanced&#34; tab under class name I could make a new field and call it &#34;3rd Party Attribute Name&#34; or something to that effect.  Then the User Admin could put a string in that field that would give me a relationship. &#60;/p&#62;
&#60;p&#62;My question is how does that translate to either data in the $entry string or HTML markup when the form is created?  Also I need this to be a global solution for all forms created now and in the future.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Submitting Data to 3rd Party Required Name Attribute"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute#post-71979</link>
			<pubDate>Tue, 21 Aug 2012 17:05:51 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">71979@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Your attempt to use the gform_after_submission hook and turn $key &#34;1&#34; into &#34;first_name&#34; then submit it is how you will need to do it. To be able to determine that &#34;1&#34; is the First Name you have a couple of options.&#60;br /&#62;
1- You could use the class attribute (Field Editor -&#38;gt; Advanced Tab -&#38;gt; CSS Class Name) to give the field a custom &#34;name&#34; and then check that class name in your gform_after_submission hook to find out which field is which. This would work well if you don't have to add any custom class to your fields and don't mind having the extra css class in the markup. If you do, you could use option 2&#60;/p&#62;
&#60;p&#62;2- Create a custom setting (Field Name) that would be displayed on all your fields and allow you to give the field a name. See following doc page: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_standard_settings&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_standard_settings&#60;/a&#62;&#60;br /&#62;
You would then look at this setting (instead of the css class setting) in the gform_after_submission hook to determine which field is which.&#60;/p&#62;
&#60;p&#62;I hope this helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jfriedman on "Submitting Data to 3rd Party Required Name Attribute"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-data-to-3rd-party-required-name-attribute#post-71904</link>
			<pubDate>Tue, 21 Aug 2012 12:10:02 +0000</pubDate>
			<dc:creator>jfriedman</dc:creator>
			<guid isPermaLink="false">71904@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have come to understand that there is no way to change the name attribute on the form fields. This is a big problem for me.&#60;/p&#62;
&#60;p&#62;I'm using Gravity Forms on a multisite installation and need to know how I can have users create forms and have the data submit to a 3rd party application.  I need to be able to tell the User Admin how to add a parameter that will tell me that &#34;First Name&#34; is actually &#34;first_name&#34;.  &#60;/p&#62;
&#60;p&#62;Right now when I look at the $entry var values this is what I get.&#60;br /&#62;
id 13,&#60;br /&#62;
form_id 1,&#60;br /&#62;
date_created 2012-08-21 16:00:02,&#60;br /&#62;
is_starred 0,&#60;br /&#62;
is_read 0,&#60;br /&#62;
ip ::1,&#60;br /&#62;
source_url &#60;a href=&#34;http://localhost/&#34; rel=&#34;nofollow&#34;&#62;http://localhost/&#60;/a&#62;,&#60;br /&#62;
post_id ,&#60;br /&#62;
currency USD,&#60;br /&#62;
payment_status ,&#60;br /&#62;
payment_date ,&#60;br /&#62;
transaction_id ,&#60;br /&#62;
payment_amount ,&#60;br /&#62;
is_fulfilled ,&#60;br /&#62;
created_by 1,&#60;br /&#62;
transaction_type ,&#60;br /&#62;
user_agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1, status active,&#60;br /&#62;
1 Jesse,&#60;br /&#62;
2 Friedman,&#60;br /&#62;
3 &#60;a href=&#34;mailto:highfive@domain.com&#34;&#62;highfive@domain.com&#60;/a&#62;,&#60;br /&#62;
4 (401)555-5555,&#60;br /&#62;
5 ,&#60;br /&#62;
6.3 ,&#60;br /&#62;
6.6 ,&#60;/p&#62;
&#60;p&#62;Now I could obviously code something using the gform_after_submission hook to turn the $key &#34;1&#34; into &#34;first_name&#34; then submit it. Sounds easy enough...&#60;/p&#62;
&#60;p&#62;The problem is I won't know what 1 equals.&#60;/p&#62;
&#60;p&#62;I thought about using jQuery to rewrite the name attribute on the input using a css class on the parent li. That opened another can of worms because the form stopped validating.&#60;/p&#62;
&#60;p&#62;Then I thought about using the query string functionality but it only allows for GET.  On that note is there a hook that will grab those values before the form is submitted or validated? If so what am I looking for?&#60;/p&#62;
&#60;p&#62;Is there anyway you can think that would give me the ability to know what field is which without having prior knowledge of the form markup?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
