<?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: Where does the form action go?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/where-does-the-form-action-go</link>
		<description>Gravity Support Forums Topic: Where does the form action go?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:35:44 +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/where-does-the-form-action-go" rel="self" type="application/rss+xml" />

		<item>
			<title>TinyFrog on "Where does the form action go?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/where-does-the-form-action-go#post-287442</link>
			<pubDate>Wed, 29 May 2013 21:17:47 +0000</pubDate>
			<dc:creator>TinyFrog</dc:creator>
			<guid isPermaLink="false">287442@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I do hope you see the question in my reply above. I really want to understand the script to work with my form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>TinyFrog on "Where does the form action go?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/where-does-the-form-action-go#post-284699</link>
			<pubDate>Tue, 28 May 2013 22:30:02 +0000</pubDate>
			<dc:creator>TinyFrog</dc:creator>
			<guid isPermaLink="false">284699@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks David.&#60;/p&#62;
&#60;p&#62;I think that the second line, below, is edited correctly because the form I want to use has an ID of 2.&#60;/p&#62;
&#60;p&#62;If I only have an email address in my form to send to a third party service I would add this to the functions.php as shown below. I'm only guessing because I don't know how to determine the value I found in the braces example: [1] or the name of the email field (I don't see anywhere in the form that tells me that). Even if I'm right about where to put the path I don't know what to do in the array. I probably don't need the array part since it is one value but lets not worry about that.&#60;/p&#62;
&#60;p&#62;I would also like to know what the 10 and 2 stand for in the second line of the code below.&#60;/p&#62;
&#60;p&#62;I feel like I'm close to the proper solution I hope you can help. Thanks.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;?php
add_action(&#38;#39;gform_after_submission_2&#38;#39;, &#38;#39;post_to_third_party&#38;#39;, 10, 2);
function post_to_third_party($entry, $form) {

    $post_url = &#38;#39;http://app.streamsend.com/public/SDBo/V8c/subscribe&#38;#39;;
    $body = array(
        &#38;#39;email&#38;#39; =&#38;gt; $entry[&#38;#39;1&#38;#39;]
        );

    $request = new WP_Http();
    $response = $request-&#38;gt;post($post_url, array(&#38;#39;body&#38;#39; =&#38;gt; $body));

}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Where does the form action go?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/where-does-the-form-action-go#post-284616</link>
			<pubDate>Tue, 28 May 2013 21:49:44 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">284616@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;All forms go to Gravity Forms. You can't change the form action in a Gravity Forms form. You can use gform_after_submission to push data to third party services. &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>TinyFrog on "Where does the form action go?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/where-does-the-form-action-go#post-284281</link>
			<pubDate>Tue, 28 May 2013 18:00:00 +0000</pubDate>
			<dc:creator>TinyFrog</dc:creator>
			<guid isPermaLink="false">284281@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a very simple form from an old site we are converting to WordPress. The form only asks for an email address and displays a Sign Up button.&#60;/p&#62;
&#60;p&#62;I cannot figure out where to add the form action. Where in the heck does it go?&#60;/p&#62;
&#60;p&#62;If I knew where to put it this is the string I would add this:&#60;br /&#62;
&#34;http://app.streamsend.com/public/SDBo/V8c/subscribe&#34;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
