<?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: Adding product codes again with Machform 4.2, still possible?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Adding product codes again with Machform 4.2, still possible?</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 20:45:35 +0000</pubDate>

<item>
<title>MvdL79 on "Adding product codes again with Machform 4.2, still possible?"</title>
<link>https://www.machform.com/forums/topic/adding-product-codes-again-with-machform-42-still-possible#post-21991</link>
<pubDate>Tue, 14 Oct 2014 19:15:23 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">21991@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar,&#60;/p&#62;
&#60;p&#62;Just wondering if it's still possible to add product codes to our forms, like we did in the past with previous Machform versions.&#60;br /&#62;
This is the main reason for using Machform on our sites for ordering products.&#60;/p&#62;
&#60;p&#62;For example something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($target_is_admin){
    			if($form_id == 10246 &#38;#38;&#38;#38; $data[&#38;#39;element_type&#38;#39;] == &#38;#39;radio&#38;#39;){
    				switch ($data[&#38;#39;value&#38;#39;]) {
						case &#38;#39;Intel Xeon X3360 2.83 GHz Quad-Core met 4GB RAM en 160GB HDD&#38;lt;br&#38;gt;Deze server voor per maand&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;Intel Xeon X3360 2.83 GHz Quad-Core met 4GB RAM en 160GB HDD&#38;lt;br&#38;gt;Deze server voor per maand [art.code: 1111111]&#38;#39;;break;
						case &#38;#39;Intel Xeon X3330 2.66 GHz Quad-Core met 4GB RAM en 2x 160GB HDD RAID 1&#38;lt;br&#38;gt;Deze server voor per maand&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;Intel Xeon X3330 2.66 GHz Quad-Core met 4GB RAM en 2x 160GB HDD RAID 1&#38;lt;br&#38;gt;Deze server voor per maand [art.code: 1111112]&#38;#39;;break;
						case &#38;#39;500GB Enterprise HDD in plaats van 160GB HDD&#38;lt;br&#38;gt; Meerprijs per maand&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;500GB Enterprise HDD in plaats van 160GB HDD&#38;lt;br&#38;gt; Meerprijs per maand [art.code: 3333335]&#38;#39;;break;
						case &#38;#39;120GB SSD in plaats van 160GB HDD&#38;lt;br&#38;gt;Meerprijs per maand&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;120GB SSD in plaats van 160GB HDD&#38;lt;br&#38;gt;Meerprijs per maand [art.code: 3333335]&#38;#39;;break;
						case &#38;#39;240GB SSD in plaats van 160GB HDD&#38;lt;br&#38;gt; Meerprijs per maand&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;240GB SSD in plaats van 160GB HDD&#38;lt;br&#38;gt; Meerprijs per maand [art.code: 3333337]&#38;#39;;break;
					}
    				$entry_details[$i][&#38;#39;value&#38;#39;] = $data[&#38;#39;value&#38;#39;];
    			}
    		}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;These changes still can be made in the helper-functions.php, right?&#60;br /&#62;
And is it still at the same line? #3034&#60;/p&#62;
&#60;p&#62;Just wanted to make sure before I start editing. :)&#60;/p&#62;
&#60;p&#62;Thank you in advance.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
