<?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: Change the 'Submit' button</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Change the 'Submit' button</description>
<language>en</language>
<pubDate>Tue, 05 May 2026 05:47:09 +0000</pubDate>

<item>
<title>webbo on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-11957</link>
<pubDate>Mon, 09 May 2011 15:02:12 +0000</pubDate>
<dc:creator>webbo</dc:creator>
<guid isPermaLink="false">11957@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That works great, thanks for the help.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-11956</link>
<pubDate>Mon, 09 May 2011 11:46:03 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11956@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, try to change the code like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] == 1) {
	$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;http://www.propertydox.co.uk/graphics/send.jpg&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}

else if ($_GET[&#38;#39;id&#38;#39;] == 2) {
	$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;http://www.propertydox.co.uk/graphics/pat-pir.jpg&#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;</description>
</item>
<item>
<title>webbo on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-11952</link>
<pubDate>Sun, 08 May 2011 23:25:58 +0000</pubDate>
<dc:creator>webbo</dc:creator>
<guid isPermaLink="false">11952@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi, I can change the submit button into a different image for different forms. However, as soon as I add the &#34;else&#34; code my form 1 image changes to a standard submit button but my form 2 still uses my custom image.&#60;/p&#62;
&#60;p&#62;If I remove the &#34;else&#34; code then both forms use custom images. I would like some forms to use standard submit buttons so I don't have to add a line of code for a custom buttom image for every form.&#60;/p&#62;
&#60;p&#62;Any advice?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] == 1) {
	$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;http://www.propertydox.co.uk/graphics/send.jpg&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;#39;.$button_text.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}

        if ($_GET[&#38;#39;id&#38;#39;] == 2) {
	$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;http://www.propertydox.co.uk/graphics/pat-pir.jpg&#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;</description>
</item>
<item>
<title>georgechoi on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9673</link>
<pubDate>Thu, 10 Jun 2010 21:21:22 +0000</pubDate>
<dc:creator>georgechoi</dc:creator>
<guid isPermaLink="false">9673@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi yuniar, I sent over my view-function.php file through an email from george [at] webdesigntouch.com.  Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9669</link>
<pubDate>Thu, 10 Jun 2010 14:41:51 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">9669@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That's weird.&#60;br /&#62;
Can you send me your file please? I'll check it.&#60;/p&#62;
&#60;p&#62;You can mail to: customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>georgechoi on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9663</link>
<pubDate>Wed, 09 Jun 2010 21:58:26 +0000</pubDate>
<dc:creator>georgechoi</dc:creator>
<guid isPermaLink="false">9663@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;yuniar, I made this change also, but nothing happened.  Thanks for the quick reply.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9662</link>
<pubDate>Wed, 09 Jun 2010 21:34:27 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">9662@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think you missed one opening bracket there.&#60;/p&#62;
&#60;p&#62;Instead of this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] == 12) or ($_GET[&#38;#39;id&#38;#39;] == 13)) {&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;it should be like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (($_GET[&#38;#39;id&#38;#39;] == 12) or ($_GET[&#38;#39;id&#38;#39;] == 13)) {&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>georgechoi on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9661</link>
<pubDate>Wed, 09 Jun 2010 21:22:10 +0000</pubDate>
<dc:creator>georgechoi</dc:creator>
<guid isPermaLink="false">9661@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi yuniar,&#60;/p&#62;
&#60;p&#62;I tried what you told me to do, but it doesn't work yet.  I'm not sure I did incorrectly, but everything seems to be correct in the codes. (Please correct me if I'm wrong.)&#60;/p&#62;
&#60;p&#62;This is form 12:&#60;br /&#62;
&#60;a href=&#34;http://www.webdesigntouch.com/test/webdesigntouch/pricing/index.html&#34; rel=&#34;nofollow&#34;&#62;http://www.webdesigntouch.com/test/webdesigntouch/pricing/index.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This is form 13:&#60;br /&#62;
&#60;a href=&#34;http://www.webdesigntouch.com/test/webdesigntouch/contact/index.html&#34; rel=&#34;nofollow&#34;&#62;http://www.webdesigntouch.com/test/webdesigntouch/contact/index.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I only got form 13 to work, but I would love to get form 12's button to be the same as form 13's.&#60;/p&#62;
&#60;p&#62;Here's my codes:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] == 12) or ($_GET[&#38;#39;id&#38;#39;] == 13)) {
	$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/submitBtnForm12.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;;
}

		//markup for submit button
		$button_markup =&#38;lt;&#38;lt;&#38;lt;EOT
		&#38;lt;li id=&#38;quot;li_buttons&#38;quot; class=&#38;quot;buttons&#38;quot;&#38;gt;
			    &#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;form_id&#38;quot; value=&#38;quot;{$form-&#38;gt;id}&#38;quot; /&#38;gt;
			    {$edit_markup}
			    &#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;1&#38;quot; /&#38;gt;
				{$button_code}
		&#38;lt;/li&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks in advance again!
&#60;/p&#62;</description>
</item>
<item>
<title>georgechoi on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9587</link>
<pubDate>Fri, 28 May 2010 02:19:00 +0000</pubDate>
<dc:creator>georgechoi</dc:creator>
<guid isPermaLink="false">9587@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks yuniar!  I will give that a try.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9583</link>
<pubDate>Thu, 27 May 2010 17:57:51 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">9583@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Simply change the &#34;if&#34; line, to be something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (($_GET[&#38;#39;id&#38;#39;] == 7) or ($_GET[&#38;#39;id&#38;#39;] == 6)) {&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>georgechoi on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-9577</link>
<pubDate>Thu, 27 May 2010 04:06:52 +0000</pubDate>
<dc:creator>georgechoi</dc:creator>
<guid isPermaLink="false">9577@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi, I'm not a php coder and I'm trying to have two different forms that will use the same button image as the submit button.  I cannot get both forms to use to the same button (one form uses the standard submit button).  Why is that?&#60;/p&#62;
&#60;p&#62;For example: if I want to add a custom button for form 6&#38;#38;7, I thought adding codes right after form 6 would work (but it didn't work), and here's what I added as an example:&#60;/p&#62;
&#60;p&#62;if ($_GET['id'] == 7) {&#60;br /&#62;
	$button_code = '&#38;lt;input id=&#34;saveForm&#34; class=&#34;button_text&#34; type=&#34;image&#34;&#60;br /&#62;
src=&#34;images/exec.png&#34; name=&#34;submit&#34; value=&#34;'.$button_text.'&#34; /&#38;gt;';&#60;br /&#62;
}&#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;Please help!!  Thanks in advance.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-6804</link>
<pubDate>Mon, 03 Aug 2009 08:40:47 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6804@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can add a form id condition in there, for example you need to change a submit button for form 6 only, then try to follow these steps :&#60;/p&#62;
&#60;p&#62;1. Go to line 1747 ~ 1751, you'll see these code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(empty($form-&#38;gt;review)){
	$button_text = $lang[&#38;#39;submit_button&#38;#39;];
}else{
	$button_text = $lang[&#38;#39;continue_button&#38;#39;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then put these code bellow that line &#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;2. Go to line 1765 and you'll see this code &#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;submit&#38;quot; name=&#38;quot;submit&#38;quot; value=&#38;quot;{$button_text}&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;replace the code to be like this &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;{$button_code}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Don't forget to change the form id with yours
&#60;/p&#62;</description>
</item>
<item>
<title>KnockOuts on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-6774</link>
<pubDate>Sat, 01 Aug 2009 02:41:07 +0000</pubDate>
<dc:creator>KnockOuts</dc:creator>
<guid isPermaLink="false">6774@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;What if I need to change it for just a specific form?
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-6767</link>
<pubDate>Fri, 31 Jul 2009 21:30:54 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6767@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Check out this post &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/submit-button-20g#post-2833&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/submit-button-20g#post-2833&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>KnockOuts on "Change the 'Submit' button"</title>
<link>https://www.machform.com/forums/topic/change-the-submit-button#post-6761</link>
<pubDate>Fri, 31 Jul 2009 03:13:33 +0000</pubDate>
<dc:creator>KnockOuts</dc:creator>
<guid isPermaLink="false">6761@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;How do I change the submit button to be a graphic of my own on a particular form?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
