<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Post form result</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Post form result</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 08:48:55 +0000</pubDate>

<item>
<title>Amarok on "Post form result"</title>
<link>https://www.machform.com/forums/topic/post-form-result#post-22196</link>
<pubDate>Wed, 19 Nov 2014 19:21:53 +0000</pubDate>
<dc:creator>Amarok</dc:creator>
<guid isPermaLink="false">22196@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;@ williamansley: Thank you very much for your reply. I plan to try the webhook solution.
&#60;/p&#62;</description>
</item>
<item>
<title>williamansley on "Post form result"</title>
<link>https://www.machform.com/forums/topic/post-form-result#post-22191</link>
<pubDate>Wed, 19 Nov 2014 02:43:16 +0000</pubDate>
<dc:creator>williamansley</dc:creator>
<guid isPermaLink="false">22191@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;@Amarok: It is certain that alecd4 was referring to a previous version of Machform, since the message was posted two years ago. If I am understanding the previous messages, then what you want to do can be done by the use of the new webhooks feature in Machform 4.2 without the need for any custom coding. I can't offer you any help with this, but take a look at the announcement linked to below for more information:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/blog-webhook-api-integration&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/blog-webhook-api-integration&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Amarok on "Post form result"</title>
<link>https://www.machform.com/forums/topic/post-form-result#post-22189</link>
<pubDate>Tue, 18 Nov 2014 22:57:10 +0000</pubDate>
<dc:creator>Amarok</dc:creator>
<guid isPermaLink="false">22189@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I try to implement the tip proposed here by alecd4 - but I'm unable to make it work !&#60;br /&#62;
I suspect he wrote that for a previous machform version ... Am I right ? &#60;/p&#62;
&#60;p&#62;Anyone have another solution for the current machform version (4.2) ?&#60;br /&#62;
Thank you in advance for your help.
&#60;/p&#62;</description>
</item>
<item>
<title>alecd4 on "Post form result"</title>
<link>https://www.machform.com/forums/topic/post-form-result#post-13953</link>
<pubDate>Sun, 18 Mar 2012 05:54:48 +0000</pubDate>
<dc:creator>alecd4</dc:creator>
<guid isPermaLink="false">13953@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Post form result"</title>
<link>https://www.machform.com/forums/topic/post-form-result#post-13882</link>
<pubDate>Thu, 15 Mar 2012 22:38:18 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">13882@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I assume you have form review enabled? If so, the code you posted above is pretty much correct.&#60;br /&#62;
However, you need to place the code much further to the bottom.&#60;/p&#62;
&#60;p&#62;On line 2444:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$_SESSION[&#38;#39;mf_form_completed&#38;#39;][$form_id] = true;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;put your code below that line.
&#60;/p&#62;</description>
</item>
<item>
<title>alecd4 on "Post form result"</title>
<link>https://www.machform.com/forums/topic/post-form-result#post-13838</link>
<pubDate>Wed, 14 Mar 2012 10:51:06 +0000</pubDate>
<dc:creator>alecd4</dc:creator>
<guid isPermaLink="false">13838@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Here is what I did so far: I found the following function in post-functions.php - mf_commit_form_review()&#60;/p&#62;
&#60;p&#62;line 2351: $new_record_id = (int) $dbh-&#38;gt;lastInsertId();&#60;/p&#62;
&#60;p&#62;It looks to me that after this line I have all final data in form_{$form_id) So I can get the data using $new_record_id as a key. So I inserted&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//GETS NEWLY CREATED RECORD
     $query = &#38;quot;SELECT {$columns_joined} FROM &#38;lt;code&#38;gt;&#38;amp;quot;.MF_TABLE_PREFIX.&#38;amp;quot;form_{$form_id}&#38;lt;/code&#38;gt; WHERE id=?&#38;quot;;
     $params = array($new_record_id);
     $sth = mf_do_query($query,$params,$dbh);
     $data = mf_do_fetch_result($sth);
     //add guid
     $guid=$_SESSION[&#38;#39;yapi&#38;#39;][&#38;#39;guid&#38;#39;];
     $data = $data + array(&#38;#39;guid&#38;#39; =&#38;gt; $guid);
     $json=json_encode($data);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;$_SESSION['yapi']['guid'];above is set previously in view.php from $_GET parameter. Finally, $json string is posted to a remote server.&#60;/p&#62;
&#60;p&#62;Am I missing something?
&#60;/p&#62;</description>
</item>
<item>
<title>alecd4 on "Post form result"</title>
<link>https://www.machform.com/forums/topic/post-form-result#post-13834</link>
<pubDate>Wed, 14 Mar 2012 06:55:40 +0000</pubDate>
<dc:creator>alecd4</dc:creator>
<guid isPermaLink="false">13834@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Love the product!&#60;br /&#62;
Email form submission doesn't work for us. We would like to be able to post form content after the form is submitted locally to a website via a https post. Any suggestions are appreciated.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
