<?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: Chaning action on submit button for 2 forms</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Chaning action on submit button for 2 forms</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:06:36 +0000</pubDate>

<item>
<title>tmparisi on "Chaning action on submit button for 2 forms"</title>
<link>https://www.machform.com/forums/topic/chaning-action-on-submit-button-for-1-form#post-14210</link>
<pubDate>Sat, 31 Mar 2012 22:11:58 +0000</pubDate>
<dc:creator>tmparisi</dc:creator>
<guid isPermaLink="false">14210@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;When the submit button is clicked on the review page of a form I would like to start a specific function on the parent page of the iFrame.  Does anyone know where in the machform code I could put my code to do this?&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;form name=&#38;quot;input&#38;quot; onsubmit=&#38;quot;window.parent.showName(document.getElementById(&#38;#39;formEmail&#38;#39;).value);&#38;quot; action=&#38;quot;iframePage.php&#38;quot; method=&#38;quot;post&#38;quot;&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;'showName' is the name of the function on my parent page and 'formName' will need to be changed to the appropriate machform variable for the email field.  'iframePage.php' also needs to be changed to be relavant to the machform specific link, depending on their syntax.&#60;/p&#62;
&#60;p&#62;My main concern is that it only acticates for say form #2 and 8... given there are many other active forms.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
