<?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: POST remotely to a Gravity form?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/post-remotely-to-a-gravity-form</link>
		<description>Gravity Support Forums Topic: POST remotely to a Gravity form?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 13:03:00 +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/post-remotely-to-a-gravity-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "POST remotely to a Gravity form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/post-remotely-to-a-gravity-form#post-72617</link>
			<pubDate>Sun, 26 Aug 2012 00:38:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72617@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you take a look at the plugin source, you will see where those hidden fields are generated.  Here is one from forms_model.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
    public static function get_form_unique_id($form_id){
        if(RGForms::post(&#38;quot;gform_submit&#38;quot;) == $form_id)
            return RGForms::post(&#38;quot;gform_unique_id&#38;quot;);
        else
            return uniqid();
    }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Look at line 741 forms_model.php to see how that function is being used.&#60;/p&#62;
&#60;p&#62;Line 742 uses &#60;em&#62;self:get_state&#60;/em&#62; which is found on lines 137 to 196.  It's too long to post here, and you have the code already.  Take a look at forms_model.php and I think you will find the pieces you're missing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joshcanhelp on "POST remotely to a Gravity form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/post-remotely-to-a-gravity-form#post-72597</link>
			<pubDate>Sat, 25 Aug 2012 11:31:55 +0000</pubDate>
			<dc:creator>joshcanhelp</dc:creator>
			<guid isPermaLink="false">72597@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Those are the hidden fields I'm seeing, yes. There are a number of other ones, though, but if they are required, I think I know how to get them. Is there a function that generates those two fields, like a wp_nonce type one?&#60;/p&#62;
&#60;p&#62;The site isn't public quite yet so nothing to show. Even if I could, though, I don't think seeing the two forms would help much, they're both basic Gravity forms. The &#34;magic&#34; happens in a special page template. I'm using wp_remote_posts to send the fields from the first, successfully submitted form to the second one. It's fairly straight-forward but I think I need those hidden fields to have it submit properly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "POST remotely to a Gravity form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/post-remotely-to-a-gravity-form#post-72569</link>
			<pubDate>Sat, 25 Aug 2012 09:35:44 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72569@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;By hidden fields, I assume you mean the gform_unique_id and state_formID fields?&#60;/p&#62;
&#60;p&#62;Can you show us how you have accomplished what you have done so far?  I don't know of anyone else who has posted a form programmatically like this and I'm sure the information you have would be useful to others. If you post what you have done so far, maybe we can help figure out what's going on.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joshcanhelp on "POST remotely to a Gravity form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/post-remotely-to-a-gravity-form#post-72530</link>
			<pubDate>Fri, 24 Aug 2012 17:34:29 +0000</pubDate>
			<dc:creator>joshcanhelp</dc:creator>
			<guid isPermaLink="false">72530@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'd like to have one Gravity form submit another Gravity form with information from the first. I'm using WP's wp_remote_post function to send the required information. It doesn't seem to be submitting and I'm guessing it's related to the hidden fields added by the form I'm submitting to. &#60;/p&#62;
&#60;p&#62;If I'm using the same WP install for both forms, it seems like I should be able to generate unique IDs and states to create a valid submission. Any ideas on how to do that?&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
