<?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: Replace the Submit button with an Image</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Replace the Submit button with an Image</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 00:49:35 +0000</pubDate>

<item>
<title>yuniar on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-11697</link>
<pubDate>Sat, 26 Mar 2011 19:10:52 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11697@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Sorry for the late reply. I've just replied to your email, let's continue there.
&#60;/p&#62;</description>
</item>
<item>
<title>Radices on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-11664</link>
<pubDate>Wed, 23 Mar 2011 20:54:20 +0000</pubDate>
<dc:creator>Radices</dc:creator>
<guid isPermaLink="false">11664@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar,&#60;/p&#62;
&#60;p&#62;I am using form review but not embeding it in any way.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-11662</link>
<pubDate>Wed, 23 Mar 2011 17:40:19 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11662@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Glenn,&#60;/p&#62;
&#60;p&#62;Do you have form review enabled or not? Also, are you using the iframe embed code or the php embed code?&#60;/p&#62;
&#60;p&#62;The code would depends on the above condition.
&#60;/p&#62;</description>
</item>
<item>
<title>Radices on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-11661</link>
<pubDate>Tue, 22 Mar 2011 23:01:37 +0000</pubDate>
<dc:creator>Radices</dc:creator>
<guid isPermaLink="false">11661@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar,&#60;/p&#62;
&#60;p&#62;I'm wanting to change the button text based on the form number. I have spent 3-4 hours trying to modify the example above but cannot get it to work. I can see how it changes based on whether you have a review page and in the end modified the language.php file as a work around. &#60;/p&#62;
&#60;p&#62;Thanks in advance,&#60;/p&#62;
&#60;p&#62;Glenn
&#60;/p&#62;</description>
</item>
<item>
<title>martinswales on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-11012</link>
<pubDate>Wed, 08 Dec 2010 19:49:40 +0000</pubDate>
<dc:creator>martinswales</dc:creator>
<guid isPermaLink="false">11012@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Great thanks for all your help, much appreciated
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-10980</link>
<pubDate>Fri, 03 Dec 2010 17:11:55 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">10980@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmm it should works..&#60;br /&#62;
is it possible to send me your file. You can send it here :&#60;/p&#62;
&#60;p&#62;customer.service[at]appnitro.com&#60;/p&#62;
&#60;p&#62;I will help you to check it
&#60;/p&#62;</description>
</item>
<item>
<title>martinswales on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-10972</link>
<pubDate>Thu, 02 Dec 2010 20:05:08 +0000</pubDate>
<dc:creator>martinswales</dc:creator>
<guid isPermaLink="false">10972@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi I've tried this but it doesn't seem to change the actual image, ive changed the form id but still wont work. Any ideas
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-10970</link>
<pubDate>Thu, 02 Dec 2010 16:00:28 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">10970@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can add the conditional to the code. Try to follow these steps:&#60;/p&#62;
&#60;p&#62;1. On the line 1759, you need to change these 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;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;
&#60;p&#62;into &#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;{$img_src}&#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;Then go to line 1754 for this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$button_markup =&#38;lt;&#38;lt;&#38;lt;EOT&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and put these code exactly above that line &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;switch ($form_id) {
	case 22 :
		//form 22
		$img_src = &#38;quot;images/exec.png&#38;quot;;
		break;
	case 23 :
		//form 23
		$img_src = &#38;quot;images/click_to_add.gif&#38;quot;;
		break;

	default :
		$img_src = &#38;quot;images/exec.png&#38;quot;;
		break;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2. For line 2097 , you can add the condition to these code.&#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;you can change it into like this &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($form-&#38;gt;id == 22) {
	$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;;
} elseif ($form-&#38;gt;id == 23 ) {
	$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/click_to_add.gif&#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;;
} else {
	$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;don't forget to change the form id with yours
&#60;/p&#62;</description>
</item>
<item>
<title>martinswales on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-10968</link>
<pubDate>Wed, 01 Dec 2010 20:16:33 +0000</pubDate>
<dc:creator>martinswales</dc:creator>
<guid isPermaLink="false">10968@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That works thanks,  my only problem is i have 2 forms which need different buttons any idea how to do that as at the minute they have the same submit button?
&#60;/p&#62;</description>
</item>
<item>
<title>martinswales on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-10967</link>
<pubDate>Wed, 01 Dec 2010 20:03:28 +0000</pubDate>
<dc:creator>martinswales</dc:creator>
<guid isPermaLink="false">10967@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;great thanks
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-10964</link>
<pubDate>Wed, 01 Dec 2010 17:29:07 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">10964@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Try to edit &#34;includes/view-functions.php&#34; file and go to around line 1759. You will see these 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;then change it to &#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;
&#60;p&#62;after that go to around line 2097 and you 'll see this code &#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;then change it 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;
&#60;p&#62;don't forget to change &#34;src&#34; value with your image path. That would change the submit button into an image
&#60;/p&#62;</description>
</item>
<item>
<title>martinswales on "Replace the Submit button with an Image"</title>
<link>https://www.machform.com/forums/topic/replace-the-submit-button-with-an-image#post-10961</link>
<pubDate>Tue, 30 Nov 2010 16:42:13 +0000</pubDate>
<dc:creator>martinswales</dc:creator>
<guid isPermaLink="false">10961@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi I've got the latest Mach Form which I bought because I'm not a developer although I can stumble my way through bits of code. &#60;/p&#62;
&#60;p&#62;Problem is I need to change the submit button to a graphic on a clients form, ive seen bits of posts on this forum but these dont seem to reflect my files as the line numbers etc seem different does anybody have a straight forward guide on how to change the submit button. It would be much appreciated.&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
</item>

</channel>
</rss>
