<?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: After submitting a form</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: After submitting a form</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 20:44:02 +0000</pubDate>

<item>
<title>yuniar on "[closed] After submitting a form"</title>
<link>https://www.machform.com/forums/topic/after-submitting-a-form#post-454</link>
<pubDate>Mon, 17 Dec 2007 19:32:54 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">454@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ahh.. that make sense.
&#60;/p&#62;</description>
</item>
<item>
<title>Regardt on "[closed] After submitting a form"</title>
<link>https://www.machform.com/forums/topic/after-submitting-a-form#post-453</link>
<pubDate>Mon, 17 Dec 2007 19:06:11 +0000</pubDate>
<dc:creator>Regardt</dc:creator>
<guid isPermaLink="false">453@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks Yuniar,&#60;/p&#62;
&#60;p&#62;I have a auto responder on the form that will serve as notification.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] After submitting a form"</title>
<link>https://www.machform.com/forums/topic/after-submitting-a-form#post-450</link>
<pubDate>Mon, 17 Dec 2007 15:33:11 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">450@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Are you sure you want to do this? Your user won't have any clue what has happened if you do so.&#60;/p&#62;
&#60;p&#62;If you really sure, edit your embed.php and view.php file, around line 31 you will find this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if($submit_result[&#38;#39;status&#38;#39;] === true){&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Right under that line , insert this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo &#38;quot;&#38;lt;script type=\&#38;quot;text/javascript\&#38;quot;&#38;gt;top.window.opener = top;top.window.open(&#38;#39;&#38;#39;,&#38;#39;_parent&#38;#39;,&#38;#39;&#38;#39;);top.window.close();&#38;lt;/script&#38;gt;&#38;quot;;
exit;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
That should close your window immediately.&#60;/p&#62;
&#60;p&#62;However, the code above won't work in Firefox. Since I can't seem to find any javascript code to close Firefox tab. &#60;/p&#62;
&#60;p&#62;Anybody know?
&#60;/p&#62;</description>
</item>
<item>
<title>Regardt on "[closed] After submitting a form"</title>
<link>https://www.machform.com/forums/topic/after-submitting-a-form#post-447</link>
<pubDate>Sun, 16 Dec 2007 22:33:22 +0000</pubDate>
<dc:creator>Regardt</dc:creator>
<guid isPermaLink="false">447@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Currently when the submit button is clicked you can either display a success message, or direct to a URL.&#60;/p&#62;
&#60;p&#62;1.Is it possible after clicking the submit button, that the window closes automatically and NOT display or direct.?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
