<?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, like with old(er) version(s) of Machform, how....?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Adding product codes, like with old(er) version(s) of Machform, how....?</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:07:54 +0000</pubDate>

<item>
<title>MvdL1979 on "Adding product codes, like with old(er) version(s) of Machform, how....?"</title>
<link>https://www.machform.com/forums/topic/adding-product-codes-like-with-older-versions-of-machform-how#post-20824</link>
<pubDate>Tue, 22 Apr 2014 19:04:23 +0000</pubDate>
<dc:creator>MvdL1979</dc:creator>
<guid isPermaLink="false">20824@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you. Got a reply back. Replied it again with old and new version.&#60;/p&#62;
&#60;p&#62;Hopefully it's still possible to add article codes to Machform as we did before, otherwise Machform will be completely useless to us unfortunately. We really need to have this option back.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Adding product codes, like with old(er) version(s) of Machform, how....?"</title>
<link>https://www.machform.com/forums/topic/adding-product-codes-like-with-older-versions-of-machform-how#post-20818</link>
<pubDate>Tue, 22 Apr 2014 15:48:23 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">20818@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hang on, we just had a long national holiday here (Friday was easter holiday) and we're working on those tickets based on the queue. My partner Andar will get back to you soon.
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL1979 on "Adding product codes, like with old(er) version(s) of Machform, how....?"</title>
<link>https://www.machform.com/forums/topic/adding-product-codes-like-with-older-versions-of-machform-how#post-20817</link>
<pubDate>Tue, 22 Apr 2014 15:44:53 +0000</pubDate>
<dc:creator>MvdL1979</dc:creator>
<guid isPermaLink="false">20817@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Also created a support ticket for quick response, however received nothing back so far, also the forum post remains unanswered unfortunately.&#60;/p&#62;
&#60;p&#62;Therefor bumping it once again. We need it today if possible.....
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL1979 on "Adding product codes, like with old(er) version(s) of Machform, how....?"</title>
<link>https://www.machform.com/forums/topic/adding-product-codes-like-with-older-versions-of-machform-how#post-20801</link>
<pubDate>Fri, 18 Apr 2014 17:46:22 +0000</pubDate>
<dc:creator>MvdL1979</dc:creator>
<guid isPermaLink="false">20801@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Well I have added it everywhere where that first piece of code appears, but nothing works. All mailed forms do not contain the article codes.&#60;br /&#62;
I hope this can easily be resolved...
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL1979 on "Adding product codes, like with old(er) version(s) of Machform, how....?"</title>
<link>https://www.machform.com/forums/topic/adding-product-codes-like-with-older-versions-of-machform-how#post-20800</link>
<pubDate>Fri, 18 Apr 2014 17:38:45 +0000</pubDate>
<dc:creator>MvdL1979</dc:creator>
<guid isPermaLink="false">20800@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Well I will keep trying in the meantime, however I am having a difficult time to add product codes as with the previous versions of Machform.&#60;/p&#62;
&#60;p&#62;I looked up the line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;foreach ($entry_details as $data){&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Which is located in several different locations: line 442, line 3319, line 3222 and line 3025&#60;/p&#62;
&#60;p&#62;So I gave the first hit a go, as it was with the previous versions of Machform and added the following code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// *** Start article codes *** //

			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&#38;lt;br&#38;gt;Server with all options included&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;Intel Xeon X3360&#38;lt;br&#38;gt;Server with all options included [art.code: 1200]&#38;#39;;break;
					case &#38;#39;Intel Xeon X3330&#38;lt;br&#38;gt;Server with all options included&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;Intel Xeon X3330&#38;lt;br&#38;gt;Server with all options included [art.code: 1201]&#38;#39;;break;
					case &#38;#39;500GB HDD&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;500GB HDD [art.code: 1301]&#38;#39;;break;
					case &#38;#39;120GB SSD&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;120GB SSD [art.code: 1302]&#38;#39;;break;
					case &#38;#39;240GB SSD&#38;lt;br&#38;gt;Special offer&#38;#39;: $data[&#38;#39;value&#38;#39;] = &#38;#39;240GB SSD&#38;lt;br&#38;gt;Special offer [art.code: 1303]&#38;#39;;break;
				}
				$entry_details[$i][&#38;#39;value&#38;#39;] = $data[&#38;#39;value&#38;#39;];
			}

// *** End article codes *** //&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;However this doesn't work anymore... Nothing is added in the emails.&#60;/p&#62;
&#60;p&#62;I will try this in the meantime at other sections, but I really hope this will be possible again, or Machform will be useless for us, because we need to use article codes.&#60;/p&#62;
&#60;p&#62;Anyways, as mentioned, I will keep trying a bit more, maybe the code needs to entered somewhere else.&#60;/p&#62;
&#60;p&#62;//edit&#60;/p&#62;
&#60;p&#62;Almost forgot to mentioned; the first time I added the above code I used Form ID 1, however noticed that was changed as the form you create not being 1 anymore. In my case it appears to be Form ID 10246
&#60;/p&#62;</description>
</item>

</channel>
</rss>
