<?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: Activating code on HTML once form button clicked...?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Activating code on HTML once form button clicked...?</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:05:30 +0000</pubDate>

<item>
<title>tmparisi on "Activating code on HTML once form button clicked...?"</title>
<link>https://www.machform.com/forums/topic/activating-code-on-html-once-form-button-clicked#post-14115</link>
<pubDate>Mon, 26 Mar 2012 09:57:21 +0000</pubDate>
<dc:creator>tmparisi</dc:creator>
<guid isPermaLink="false">14115@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmmm, I guess I was hoping there was maybe a way to work this code into/through the machform_loader.js file?  Some how pass the info into the javascript?
&#60;/p&#62;</description>
</item>
<item>
<title>AMurray on "Activating code on HTML once form button clicked...?"</title>
<link>https://www.machform.com/forums/topic/activating-code-on-html-once-form-button-clicked#post-14114</link>
<pubDate>Mon, 26 Mar 2012 04:27:17 +0000</pubDate>
<dc:creator>AMurray</dc:creator>
<guid isPermaLink="false">14114@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can create a custom confirmation page, instead of using the standard &#34;Thank you for your message&#34;.  You set that up in the Form Properties, there's a option for custom confirmation page, you can put your code in there, I expect.&#60;/p&#62;
&#60;p&#62;If that's not what you want, I don't know how else you could do it without modifying the PHP code, to do this for a particular form.  Also not sure if you can pass parameters to this page from the form (it would probably have to be a PHP page, not straight HTML if it has dynamic elements to it).
&#60;/p&#62;</description>
</item>
<item>
<title>tmparisi on "Activating code on HTML once form button clicked...?"</title>
<link>https://www.machform.com/forums/topic/activating-code-on-html-once-form-button-clicked#post-14107</link>
<pubDate>Sun, 25 Mar 2012 10:21:32 +0000</pubDate>
<dc:creator>tmparisi</dc:creator>
<guid isPermaLink="false">14107@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is there anyway to send information back and forth between MachForm and your HTML page?  The reason I ask is this:  So I have a form that once the user completes it they are asked to review it, and finally can click 'submit'.  Pretty standard.  However once submit is clicked I would like to activate a specific piece of javascript sitting on my HTML page.  The script looks like:&#60;/p&#62;
&#60;p&#62;'    &#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
		jQuery(function($) {&#60;br /&#62;
        	$(&#34;#btnReservation&#34;).bind(&#34;click&#34;,function(){&#60;br /&#62;
                $.Growl.show(&#34;You should receive an email confirmation shortly.&#34;, {&#60;br /&#62;
                  'title'  : &#34;Reservation Submitted!&#34;,&#60;br /&#62;
                  'icon'   : &#34;checkmark&#34;,&#60;br /&#62;
                  'timeout': &#34;10000&#34;&#60;br /&#62;
                });&#60;br /&#62;
              });&#60;br /&#62;
		});&#60;br /&#62;
		&#38;lt;/script&#38;gt;'&#60;/p&#62;
&#60;p&#62;Its purpose is to sort of popup and display a message utilizing a jquery plugin.  As you can see, it is currently known as &#34;#btnReservation&#34; as that is how I would call it from a normal HTML button, such as:&#60;/p&#62;
&#60;p&#62;'&#38;lt;button id=&#34;btnReservation&#34; type=&#34;button&#34;&#38;gt;Test Button&#38;lt;/button&#38;gt; '&#60;/p&#62;
&#60;p&#62;Any help would be very much appreciated!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
