<?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: Submit Button 2.0g</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Submit Button 2.0g</description>
<language>en</language>
<pubDate>Tue, 05 May 2026 07:27:49 +0000</pubDate>

<item>
<title>msfbiz on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-9700</link>
<pubDate>Tue, 15 Jun 2010 20:28:02 +0000</pubDate>
<dc:creator>msfbiz</dc:creator>
<guid isPermaLink="false">9700@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;For those who wonder, I managed to make it work with the advanced embed by changing the first line of code from&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] == 6) {
	$button_code = &#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;image&#38;quot;
src=&#38;quot;images/exec.png&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}
else {
	$button_code = &#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;submit&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($form_id == 6) {
	$button_code = &#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;image&#38;quot;
src=&#38;quot;images/exec.png&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}
else {
	$button_code = &#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;submit&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With the advanced embed, there's no 'id' variable in the url for $_GET to work.&#60;/p&#62;
&#60;p&#62;Hope this helps,&#60;br /&#62;
Mike
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-8650</link>
<pubDate>Wed, 10 Feb 2010 18:03:32 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8650@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Vern,&#60;/p&#62;
&#60;p&#62;Can you send us your file please? Also the link to the page where you put the form.&#60;br /&#62;
Mail to: customer.service [at] appnitro.com&#60;/p&#62;
&#60;p&#62;We'll check it further.
&#60;/p&#62;</description>
</item>
<item>
<title>vern1271 on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-8647</link>
<pubDate>Tue, 09 Feb 2010 23:49:24 +0000</pubDate>
<dc:creator>vern1271</dc:creator>
<guid isPermaLink="false">8647@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yuniar, I found this...&#60;/p&#62;
&#60;p&#62;if(!empty($form-&#38;gt;review) &#38;#38;&#38;#38; !$show_password_form){&#60;br /&#62;
				$submit_button = '&#38;lt;input type=&#34;hidden&#34; name=&#34;submit_continue&#34; value=&#34;1&#34; /&#38;gt;'.&#34;\n&#34;.'&#38;lt;input id=&#34;saveForm&#34; class=&#34;button_text&#34; type=&#34;submit&#34; name=&#34;submit_continue&#34; value=&#34;'.$lang['continue_button'].'&#34; /&#38;gt;';&#60;br /&#62;
			}else{&#60;br /&#62;
				$submit_button = '&#38;lt;input type=&#34;hidden&#34; name=&#34;submit&#34; value=&#34;1&#34; /&#38;gt;'.&#34;\n&#34;.'&#38;lt;input id=&#34;saveForm&#34; class=&#34;button_text&#34; type=&#34;submit&#34; name=&#34;submit&#34; value=&#34;'.$lang['submit_button'].'&#34; /&#38;gt;';&#60;br /&#62;
			}&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;I tried adding this...&#60;/p&#62;
&#60;p&#62;if ($_GET['id'] == 16) {&#60;br /&#62;
       		$button_code = '&#38;lt;input id=&#34;saveForm&#34; class=&#34;button_text&#34; type=&#34;image&#34; src=&#34;images/lp-button.gif&#34; name=&#34;submit&#34; value=&#34;'.$button_text.'&#34; /&#38;gt;';&#60;br /&#62;
        } else {&#60;br /&#62;
            $button_code = '&#38;lt;input id=&#34;saveForm&#34; class=&#34;button_text&#34; type=&#34;submit&#34; name=&#34;submit&#34; value=&#34;'.$button_text.'&#34; /&#38;gt;';&#60;br /&#62;
        }&#60;/p&#62;
&#60;p&#62;And I updated {$submit_button} with {$button_code} as well. Didn't work. Any help would be appreciated.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-8632</link>
<pubDate>Sat, 06 Feb 2010 11:45:05 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8632@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I assume you are doing modification from this post:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/forums/topic/change-the-submit-button?replies=4#post-6804&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/change-the-submit-button?replies=4#post-6804&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If that is the case, the post above only works for the standard form not advanced.&#60;br /&#62;
To make it work for advanced code, search for the similar code on another lines.&#60;/p&#62;
&#60;p&#62;Search around line 2094 - 2099. The modification is the same.
&#60;/p&#62;</description>
</item>
<item>
<title>vern1271 on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-8624</link>
<pubDate>Sat, 06 Feb 2010 02:03:24 +0000</pubDate>
<dc:creator>vern1271</dc:creator>
<guid isPermaLink="false">8624@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;OK, Id id this but it seems to not work with the advanced form code option. If I select view form from within MachForm it works. How do I get it to work using the advanced code option?
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-8550</link>
<pubDate>Fri, 29 Jan 2010 16:11:48 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">8550@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Is each website use different form ? for example website A using form 1 and website B using form 2 ? if so, you can try to use the method that posted in here :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/change-the-submit-button?replies=4#post-6804&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/change-the-submit-button?replies=4#post-6804&#60;/a&#62;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;in there you'll find these code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] == 6) {
	$button_code = &#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;image&#38;quot;
src=&#38;quot;images/exec.png&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}
else {
	$button_code = &#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;submit&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you can use your form ID to put different image on each form.&#60;br /&#62;
However to change the button style (not images), its quite easier. Simply edit and change these CSS code on each form :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/**** Buttons ****/
#main_body input.button_text
{
	overflow:visible;
	padding:0 7px;
	width:auto;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>georgechoi on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-8544</link>
<pubDate>Fri, 29 Jan 2010 05:08:01 +0000</pubDate>
<dc:creator>georgechoi</dc:creator>
<guid isPermaLink="false">8544@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;What if I need different buttons styles (or images) for different websites I'll be designing?  It'll be great if there are any ways we can easily update the submit button style for different forms without changing any codes at all (included in the WYSIWYG).
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2848</link>
<pubDate>Thu, 04 Sep 2008 10:41:26 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2848@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;it's glad to help you ..&#60;/p&#62;
&#60;p&#62;You can search around line 2093 ~ 2098 on &#34;view-functions.php&#34; and make change from :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$submit_button = &#38;#39;&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;1&#38;quot; /&#38;gt;&#38;#39;.&#38;quot;\n&#38;quot;.
&#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;submit&#38;quot;
name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$lang[&#38;#39;submit_button&#38;#39;].&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$submit_button = &#38;#39;&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;1&#38;quot; /&#38;gt;&#38;#39;.&#38;quot;\n&#38;quot;.
&#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;image&#38;quot; src=&#38;quot;images/exec.png&#38;quot;
name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$lang[&#38;#39;submit_button&#38;#39;].&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>CyberSpy on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2846</link>
<pubDate>Thu, 04 Sep 2008 10:21:44 +0000</pubDate>
<dc:creator>CyberSpy</dc:creator>
<guid isPermaLink="false">2846@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;What changes on 2096? (which is now a blank line from previous changes, so the line numbers have moved up or down a line or two) what am I changing from and to?&#60;/p&#62;
&#60;p&#62;P.S. Thank you for all of your help redityo
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2844</link>
<pubDate>Thu, 04 Sep 2008 08:11:48 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2844@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I see .. the problem occurs when you use advanced embed. Since advance embed use different process with embed / view method, this can be fixed by editing line 2096 with the same modification as on line 1759 : &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$submit_button = &#38;#39;&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;1&#38;quot; /&#38;gt;&#38;#39;.&#38;quot;\n&#38;quot;.
&#38;#39;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;image&#38;quot; src=&#38;quot;images/exec.png&#38;quot;
name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$lang[&#38;#39;submit_button&#38;#39;].&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and I have try to edit the CSS it can not give the best result either.
&#60;/p&#62;</description>
</item>
<item>
<title>CyberSpy on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2837</link>
<pubDate>Wed, 03 Sep 2008 20:31:26 +0000</pubDate>
<dc:creator>CyberSpy</dc:creator>
<guid isPermaLink="false">2837@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I found something interesting. If I look at the form standalone, it works. If I use the IFrame include, it works, but when I use advanced embed (which I prefer) it doesn't work with the php require.&#60;/p&#62;
&#60;p&#62;I really detest using Iframes, and the Iframe method used by Machform isn't W3 compliant. This is why I wanted to do it via CSS.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2836</link>
<pubDate>Wed, 03 Sep 2008 18:37:39 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2836@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi ..&#60;/p&#62;
&#60;p&#62;Where's you save the image ? is it on machform &#34;image&#34; folder ? try to change &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;src=&#38;quot;/images/submit.gif&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;src=&#38;quot;images/submit.gif&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;it's work for me... to make sure your relative path is right, you can right click the submit bottom and see the properties of your image.
&#60;/p&#62;</description>
</item>
<item>
<title>CyberSpy on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2835</link>
<pubDate>Wed, 03 Sep 2008 17:40:22 +0000</pubDate>
<dc:creator>CyberSpy</dc:creator>
<guid isPermaLink="false">2835@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That's what I initially did, it shows the text submit, not the image. That's why I asked if it's all done through CSS now.&#60;/p&#62;
&#60;p&#62;Line 1759 reads:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;image&#38;quot; src=&#38;quot;/images/submit.gif&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;{$button_text}&#38;quot; /&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2834</link>
<pubDate>Wed, 03 Sep 2008 16:20:50 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2834@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi ...&#60;/p&#62;
&#60;p&#62;You can try to edit view-functions.php on line 1766, change type=&#34;submit&#34; to type=&#34;image&#34; and add &#34;src&#34; properties relative to your image path &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;input id=&#38;quot;saveForm&#38;quot; class=&#38;quot;button_text&#38;quot; type=&#38;quot;image&#38;quot;
src=&#38;quot;images/exec.png&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;{$button_text}&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>CyberSpy on "Submit Button 2.0g"</title>
<link>https://www.machform.com/forums/topic/submit-button-20g#post-2833</link>
<pubDate>Wed, 03 Sep 2008 15:18:57 +0000</pubDate>
<dc:creator>CyberSpy</dc:creator>
<guid isPermaLink="false">2833@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar,&#60;br /&#62;
I'm working on a form, using the latest build of 2.0g. I am trying to replace the text style submit button with an image, and the old way of doing it (in view_functions.php) isn't working. So at the end of my CSS for that form, I put:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#saveForm{
	background-image: url(&#38;#39;/images/submit.gif&#38;#39;);
        border:0px
        height:14px
        width:84px
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And what that does it put the image very distorted on top of a text style block. What am I leaving out? With the newer builds, what is the detailed procedure for make the submit button an image?&#60;/p&#62;
&#60;p&#62;Thanks in advance&#60;br /&#62;
CS
&#60;/p&#62;</description>
</item>

</channel>
</rss>
