<?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: Remove fields from address</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Remove fields from address</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 03:58:44 +0000</pubDate>

<item>
<title>redityo on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-6317</link>
<pubDate>Mon, 22 Jun 2009 21:50:37 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6317@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;My above code refer to machform 2.2, have you try the code ?
&#60;/p&#62;</description>
</item>
<item>
<title>mmr on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-6314</link>
<pubDate>Mon, 22 Jun 2009 20:25:03 +0000</pubDate>
<dc:creator>mmr</dc:creator>
<guid isPermaLink="false">6314@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I can't seem to find where to change for version 2... Can someone point me in the right direction please?
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-6221</link>
<pubDate>Mon, 15 Jun 2009 16:25:26 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6221@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;@carterjd&#60;/p&#62;
&#60;p&#62;To apply those modification in some form, you can try these steps : &#60;/p&#62;
&#60;p&#62;1. Go around line 1401, you will see this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$element_markup = &#38;lt;&#38;lt;&#38;lt;EOT&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;put these code above that line &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] != 53) {
			$add_address = &#38;lt;&#38;lt;&#38;lt;EOT
&#38;lt;div id=&#38;quot;li_{$element-&#38;gt;id}_div_5&#38;quot; class=&#38;quot;left&#38;quot;&#38;gt;
	&#38;lt;input id=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot; class=&#38;quot;element text medium&#38;quot; maxlength=&#38;quot;15&#38;quot; value=&#38;quot;{$element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;_5&#38;#39;][&#38;#39;default_value&#38;#39;]}&#38;quot; type=&#38;quot;text&#38;quot; /&#38;gt;
	&#38;lt;label for=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot;&#38;gt;{$lang[&#38;#39;address_zip&#38;#39;]}&#38;lt;/label&#38;gt;
&#38;lt;/div&#38;gt;

&#38;lt;div id=&#38;quot;li_{$element-&#38;gt;id}_div_6&#38;quot; class=&#38;quot;right&#38;quot;&#38;gt;
	&#38;lt;select class=&#38;quot;element select medium&#38;quot; id=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot;&#38;gt;
	{$country_markup}
	&#38;lt;/select&#38;gt;
&#38;lt;label for=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot;&#38;gt;{$lang[&#38;#39;address_country&#38;#39;]}&#38;lt;/label&#38;gt;
&#38;lt;/div&#38;gt;

EOT;
		}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2. Then go to around line 1440 ~ 1441, you will see this :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;li_{$element-&#38;gt;id}_div_5&#38;quot; class=&#38;quot;left&#38;quot;&#38;gt;
	&#38;lt;input id=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot; class=&#38;quot;element text medium&#38;quot; maxlength=&#38;quot;15&#38;quot; value=&#38;quot;{$element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;_5&#38;#39;][&#38;#39;default_value&#38;#39;]}&#38;quot; type=&#38;quot;text&#38;quot; /&#38;gt;
	&#38;lt;label for=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot;&#38;gt;{$lang[&#38;#39;address_zip&#38;#39;]}&#38;lt;/label&#38;gt;
&#38;lt;/div&#38;gt;

&#38;lt;div id=&#38;quot;li_{$element-&#38;gt;id}_div_6&#38;quot; class=&#38;quot;right&#38;quot;&#38;gt;
	&#38;lt;select class=&#38;quot;element select medium&#38;quot; id=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot;&#38;gt;
	{$country_markup}
	&#38;lt;/select&#38;gt;
&#38;lt;label for=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot;&#38;gt;{$lang[&#38;#39;address_country&#38;#39;]}&#38;lt;/label&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change to this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;{$add_address}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Those code will only change address element for form id = 53&#60;/p&#62;
&#60;p&#62;@jflatham&#60;/p&#62;
&#60;p&#62;Try to search around line 1425 ~ 1435&#60;/p&#62;
&#60;p&#62;@Matt&#60;/p&#62;
&#60;p&#62;My Above code works in version 2.x
&#60;/p&#62;</description>
</item>
<item>
<title>Matt on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-6215</link>
<pubDate>Mon, 15 Jun 2009 12:10:04 +0000</pubDate>
<dc:creator>Matt</dc:creator>
<guid isPermaLink="false">6215@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is this still the same for the new version?
&#60;/p&#62;</description>
</item>
<item>
<title>jflatham on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-5091</link>
<pubDate>Wed, 18 Mar 2009 21:45:46 +0000</pubDate>
<dc:creator>jflatham</dc:creator>
<guid isPermaLink="false">5091@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yuniar, you may want to update the instructions above for removal of the zip code, country, or other address sub-fields, as the script and location are quite different in Machform 2.0.&#60;/p&#62;
&#60;p&#62;This product is really sweet!
&#60;/p&#62;</description>
</item>
<item>
<title>carterjd on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-4519</link>
<pubDate>Tue, 03 Feb 2009 23:58:31 +0000</pubDate>
<dc:creator>carterjd</dc:creator>
<guid isPermaLink="false">4519@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is it possible to do as the above, but make it apply to only some of the forms we have set up and not all of them ?&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-1098</link>
<pubDate>Mon, 17 Mar 2008 11:20:41 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1098@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Edit your &#60;strong&#62;includes/view-functions.php&#60;/strong&#62; file, search around line 1307 - 1317 and you'll find this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;left&#38;quot;&#38;gt;
	&#38;lt;input id=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot; class=&#38;quot;element text medium&#38;quot; maxlength=&#38;quot;15&#38;quot; value=&#38;quot;{$element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;_5&#38;#39;][&#38;#39;default_value&#38;#39;]}&#38;quot; type=&#38;quot;text&#38;quot;&#38;gt;
	&#38;lt;label for=&#38;quot;element_{$element-&#38;gt;id}_5&#38;quot;&#38;gt;Postal / Zip Code&#38;lt;/label&#38;gt;
&#38;lt;/div&#38;gt;

&#38;lt;div class=&#38;quot;right&#38;quot;&#38;gt;
	&#38;lt;select class=&#38;quot;element select medium&#38;quot; id=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot;&#38;gt;
	{$country_markup}
	&#38;lt;/select&#38;gt;
	&#38;lt;label for=&#38;quot;element_{$element-&#38;gt;id}_6&#38;quot;&#38;gt;Country&#38;lt;/label&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Simply remove those code.
&#60;/p&#62;</description>
</item>
<item>
<title>shay on "Remove fields from address"</title>
<link>https://www.machform.com/forums/topic/remove-fields-from-address#post-1090</link>
<pubDate>Mon, 17 Mar 2008 01:31:34 +0000</pubDate>
<dc:creator>shay</dc:creator>
<guid isPermaLink="false">1090@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi, I'd like to know if its possible to remove the country and zip/code fields from the address entry in a form.&#60;/p&#62;
&#60;p&#62;All of the form's users will be in the same country so it's not necessary to track that information.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Shay
&#60;/p&#62;</description>
</item>

</channel>
</rss>
