<?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: One One Box for Price Field</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: One One Box for Price Field</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 05:02:31 +0000</pubDate>

<item>
<title>yuniar on "One One Box for Price Field"</title>
<link>https://www.machform.com/forums/topic/one-one-box-for-price-field#post-3513</link>
<pubDate>Mon, 03 Nov 2008 10:54:06 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3513@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Actually, your method is pretty good already :-)
&#60;/p&#62;</description>
</item>
<item>
<title>dguppy on "One One Box for Price Field"</title>
<link>https://www.machform.com/forums/topic/one-one-box-for-price-field#post-3500</link>
<pubDate>Fri, 31 Oct 2008 23:48:58 +0000</pubDate>
<dc:creator>dguppy</dc:creator>
<guid isPermaLink="false">3500@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I wanted to have a price field that only had one entry box and would still accept a decimal entry, like the default entry for the Yen currency.&#60;br /&#62;
I found another forum article which described how to remove the second decimal box, but that didn't do what I wanted and I did like the look when I used the number field instead.&#60;/p&#62;
&#60;p&#62;I have listed below the changes I made which seems to work and may be of interest to others.  Beware this prevents the future use of the Yen Currency.&#60;/p&#62;
&#60;p&#62;In the file includes\view-functions.php look around line 879 for the following code:&#60;br /&#62;
		}else{ //for yen, only display one textfield&#60;br /&#62;
			$main_cur  = $lang['price_yen'];&#60;br /&#62;
			$cur_symbol = '&#38;#165;';&#60;br /&#62;
and change it to&#60;br /&#62;
		}else{ //for yen, only display one textfield&#60;br /&#62;
			$main_cur  = $lang['price_pound_main'];&#60;br /&#62;
			$cur_symbol = '&#38;#163;';&#60;/p&#62;
&#60;p&#62;Finally to change the currency in the email look around line 325 of entry includes\entry-functions.php and change&#60;br /&#62;
case 'yen' 	  : $currency = '&#38;#165;';break;&#60;br /&#62;
to&#60;br /&#62;
case 'yen' 	  : $currency = '&#38;#163;';break;&#60;/p&#62;
&#60;p&#62;Note: the above changes the Yen to £ Pound, but a similar change could be made for the US$.&#60;/p&#62;
&#60;p&#62;If somebody has a better method please reply
&#60;/p&#62;</description>
</item>

</channel>
</rss>
