<?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: Submit Button and Sending Data</title>
		<link>https://legacy.forums.gravityhelp.com/topic/submit-button-and-sending-data</link>
		<description>Gravity Support Forums Topic: Submit Button and Sending Data</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 11:46:49 +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/submit-button-and-sending-data" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Submit Button and Sending Data"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submit-button-and-sending-data#post-24922</link>
			<pubDate>Fri, 06 May 2011 11:29:02 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">24922@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You wouldn't edit form_display.php.  You wouldn't edit any of the Gravity Forms plugin files.  Customizations are done using hooks and filters without modifying Gravity Forms itself.&#60;/p&#62;
&#60;p&#62;As I mentioned in the post above the ideal way to do this is using the gform_post_submission hook to execute whatever custom code you need to execute when the form is submitted.  You would place this custom code either in your themes functions.php file or in a custom plugin you create.  You wouldn't place it in a Gravity Form plugin file or form_display.php.&#60;/p&#62;
&#60;p&#62;It's not just a matter of placing that URL in the file.  You need to use PHP to post data to that URL.  So you need to know how to do that using PHP.  If this isn't something you know or understand then you may want to hire a WordPress developer with Gravity Forms customization experience to assist you with this.&#60;/p&#62;
&#60;p&#62;Here are some you can try contacting:&#60;/p&#62;
&#60;p&#62;Ounce of Talent&#60;br /&#62;
&#60;a href=&#34;http://www.ounceoftalent.com&#34; rel=&#34;nofollow&#34;&#62;http://www.ounceoftalent.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;WebDevStudios&#60;br /&#62;
&#60;a href=&#34;http://www.webdevstudios.com&#34; rel=&#34;nofollow&#34;&#62;http://www.webdevstudios.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Scott Kingsley Clark&#60;br /&#62;
&#60;a href=&#34;http://scottkclark.com&#34; rel=&#34;nofollow&#34;&#62;http://scottkclark.com&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gpupf44pu on "Submit Button and Sending Data"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submit-button-and-sending-data#post-24905</link>
			<pubDate>Thu, 05 May 2011 23:08:19 +0000</pubDate>
			<dc:creator>gpupf44pu</dc:creator>
			<guid isPermaLink="false">24905@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So how would i add the url &#60;a href=&#34;http://www.wayofthearmy.com/cgi-bin/arp3/arp3-formcapture.pl&#34; rel=&#34;nofollow&#34;&#62;http://www.wayofthearmy.com/cgi-bin/arp3/arp3-formcapture.pl&#60;/a&#62; inside the form_display.php?  The code below is what is supposed to be in form_display.php&#60;br /&#62;
Where would &#60;a href=&#34;http://www.wayofthearmy.com/cgi-bin/arp3/arp3-formcapture.pl&#34; rel=&#34;nofollow&#34;&#62;http://www.wayofthearmy.com/cgi-bin/arp3/arp3-formcapture.pl&#60;/a&#62; be located in the code?  I am not sure.&#60;/p&#62;
&#60;p&#62;&#38;lt;?php  &#60;/p&#62;
&#60;p&#62;02 add_action(&#34;gform_post_submission&#34;, &#34;set_post_content&#34;, 10, 2);  &#60;/p&#62;
&#60;p&#62;03 function set_post_content($entry, $form){  &#60;/p&#62;
&#60;p&#62;04    &#60;/p&#62;
&#60;p&#62;05     //getting post  &#60;/p&#62;
&#60;p&#62;06     $post = get_post($entry[&#34;post_id&#34;]);  &#60;/p&#62;
&#60;p&#62;07    &#60;/p&#62;
&#60;p&#62;08     //changing post content  &#60;/p&#62;
&#60;p&#62;09     $post-&#38;gt;post_content = &#34;Blender Version:&#34; . $entry[7] . &#34;&#60;br /&#62; &#38;lt;img src='&#34; . $entry[8] . &#34;'&#38;gt; &#60;/p&#62;
&#60;p&#62; &#34; . $entry[13] . &#34; &#60;br /&#62; &#38;lt;img src='&#34; . $entry[5] . &#34;'&#38;gt;&#34;;  &#60;/p&#62;
&#60;p&#62;10    &#60;/p&#62;
&#60;p&#62;11     //updating post  &#60;/p&#62;
&#60;p&#62;12     wp_update_post($post);  &#60;/p&#62;
&#60;p&#62;13 }  &#60;/p&#62;
&#60;p&#62;14 ?&#38;gt; &#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Thanks for your help&#60;br /&#62;
Paul
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jckpalmer on "Submit Button and Sending Data"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submit-button-and-sending-data#post-24865</link>
			<pubDate>Thu, 05 May 2011 13:12:55 +0000</pubDate>
			<dc:creator>jckpalmer</dc:creator>
			<guid isPermaLink="false">24865@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Have you tired seprating the URLS with a commar? Might work?&#60;/p&#62;
&#60;p&#62;i.e. &#60;code&#62;$submit_url= &#38;#39;url1&#38;#39; , &#38;#39;url2&#38;#39;&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Submit Button and Sending Data"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submit-button-and-sending-data#post-24849</link>
			<pubDate>Thu, 05 May 2011 12:24:11 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">24849@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You wouldn't implement it the same way.  While you can change the form action for a Gravity Form, it isn't recommended.  &#60;/p&#62;
&#60;p&#62;When you change the form action, Gravity Forms no longer processes the form as it would now be handled by the custom action that you set.  You can do this if you really want to, but we don't recommend it.  But if you have to you can use the gform_submit_button hook which is documented here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_submit_button&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_submit_button&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The better way to handle this is to post data to that url as part of the gform_post_submission hook.  Documentation for this hook is here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gpupf44pu on "Submit Button and Sending Data"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submit-button-and-sending-data#post-24820</link>
			<pubDate>Wed, 04 May 2011 23:04:04 +0000</pubDate>
			<dc:creator>gpupf44pu</dc:creator>
			<guid isPermaLink="false">24820@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form on &#60;a href=&#34;http://www.usarmyoption.com&#34; rel=&#34;nofollow&#34;&#62;http://www.usarmyoption.com&#60;/a&#62; with a submit button that sends data to:&#60;br /&#62;
$submit_url='http://www.wayofthearmy.com/cgi-bin/arp3/arp3-formcapture.pl';&#60;br /&#62;
(This is a php file)&#60;/p&#62;
&#60;p&#62;I would like to have the same value in the gravityform submit button.  How do I edit the submit button so I can add the url, &#60;a href=&#34;http://www.wayofthearmy.com/cgi-bin/arp3/arp3-formcapture.pl&#34; rel=&#34;nofollow&#34;&#62;http://www.wayofthearmy.com/cgi-bin/arp3/arp3-formcapture.pl&#60;/a&#62; ?  Its an autoresponder.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Paul
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
