<?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: Stripping address elements out</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Stripping address elements out</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 15:30:36 +0000</pubDate>

<item>
<title>nielsenworld on "Stripping address elements out"</title>
<link>https://www.machform.com/forums/topic/stripping-address-elements-out#post-5303</link>
<pubDate>Wed, 01 Apr 2009 20:28:28 +0000</pubDate>
<dc:creator>nielsenworld</dc:creator>
<guid isPermaLink="false">5303@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Awesome support! Thank you very much for the quick reply :-)&#60;/p&#62;
&#60;p&#62;/Allan
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Stripping address elements out"</title>
<link>https://www.machform.com/forums/topic/stripping-address-elements-out#post-5299</link>
<pubDate>Wed, 01 Apr 2009 13:45:54 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">5299@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Allan,&#60;/p&#62;
&#60;p&#62;Above modification only works to hide the field but not disable &#34;required&#34; validation. To disable &#34;required&#34; validation to those element, you need to edit &#34;post-functions.php&#34; file. Go around line 465 ~ 466 you will see this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$rules[$element_name_4][&#38;#39;required&#38;#39;] = true;
$rules[$element_name_6][&#38;#39;required&#38;#39;] = true;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;add a comment to those code to be like this &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//$rules[$element_name_4][&#38;#39;required&#38;#39;] = true;
//$rules[$element_name_6][&#38;#39;required&#38;#39;] = true;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>nielsenworld on "Stripping address elements out"</title>
<link>https://www.machform.com/forums/topic/stripping-address-elements-out#post-5298</link>
<pubDate>Wed, 01 Apr 2009 12:28:01 +0000</pubDate>
<dc:creator>nielsenworld</dc:creator>
<guid isPermaLink="false">5298@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;I did the above and removed Country/region in the address field, but it's still required!&#60;br /&#62;
The customer don't see the fields now, but is not allowed to send the form because of missing required fields. &#60;/p&#62;
&#60;p&#62;How can that be fixed? &#60;/p&#62;
&#60;p&#62;BTW, thank you VERY much for a great form software, we've been searching for a long time!&#60;/p&#62;
&#60;p&#62;/Allan
&#60;/p&#62;</description>
</item>
<item>
<title>reprocessor on "Stripping address elements out"</title>
<link>https://www.machform.com/forums/topic/stripping-address-elements-out#post-2854</link>
<pubDate>Thu, 04 Sep 2008 21:58:36 +0000</pubDate>
<dc:creator>reprocessor</dc:creator>
<guid isPermaLink="false">2854@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks Redityo and Yuniar,&#60;/p&#62;
&#60;p&#62;This solved a couple of issues.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Phil
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Stripping address elements out"</title>
<link>https://www.machform.com/forums/topic/stripping-address-elements-out#post-2823</link>
<pubDate>Tue, 02 Sep 2008 13:24:16 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">2823@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Regarding phone format, we're planning to add more format for more countries.&#60;br /&#62;
At this moment, only two format is available, sorry!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Stripping address elements out"</title>
<link>https://www.machform.com/forums/topic/stripping-address-elements-out#post-2821</link>
<pubDate>Tue, 02 Sep 2008 12:49:38 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2821@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Maybe you can consider to not display country and state/provice/region section on the address field. You have to Edit your CSS and add this following code :&#60;/p&#62;
&#60;p&#62;I assume your address field id number is 1&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#li_1_div_4
{
display:none !important;
}

#li_1_div_6
{
display:none !important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To change the text below the city field ,you can edit &#34;includes/language.php&#34; file and search around line 21 for the following line :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$lang[&#38;#39;address_city&#38;#39;]		=	&#38;#39;City&#38;#39;; &#38;lt;-- change this one&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and for formating phone.. sorry, I'm afraid it's not possible to do so at this moment.
&#60;/p&#62;</description>
</item>
<item>
<title>reprocessor on "Stripping address elements out"</title>
<link>https://www.machform.com/forums/topic/stripping-address-elements-out#post-2817</link>
<pubDate>Mon, 01 Sep 2008 20:37:00 +0000</pubDate>
<dc:creator>reprocessor</dc:creator>
<guid isPermaLink="false">2817@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuinar,&#60;/p&#62;
&#60;p&#62;I was wondering how I would strip out the following fields from the address element; The fields I do not require are 'State/Province/Region' and 'Country' How would I also make the text below the 'city' field read 'town or city'? Which file and line would I find these on (I'm a bit lost!)&#60;/p&#62;
&#60;p&#62;Would the code allow the 'city and 'zip code' fields to sit side-by-side or would the css control that? &#60;/p&#62;
&#60;p&#62;Also - how can I change the size of the phone number? Your default format is (###) ###-####, I would need it to be (#####) ###### (it's for UK numbers). I'd use the international one but you would still get people putting a space between their region code and actual phone number (Which causes an error) and i'd like the form to be idiot proof if you know what I mean ;) &#60;/p&#62;
&#60;p&#62;Your help is always appreciated.&#60;/p&#62;
&#60;p&#62;Best regards,&#60;/p&#62;
&#60;p&#62;Phil
&#60;/p&#62;</description>
</item>

</channel>
</rss>
