<?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: Only two countries</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Only two countries</description>
<language>en</language>
<pubDate>Tue, 05 May 2026 07:45:23 +0000</pubDate>

<item>
<title>yuniar on "Only two countries"</title>
<link>https://www.machform.com/forums/topic/only-two-countries#post-8634</link>
<pubDate>Sat, 06 Feb 2010 11:56:36 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8634@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;If you only need to display two countries, without any conditional on something, then it would be very easy to do.&#60;/p&#62;
&#60;p&#62;Simply edit your &#34;includes/view-functions.php&#34; file.&#60;br /&#62;
Search around line 962 - 1351.&#60;/p&#62;
&#60;p&#62;There you'll find a list of countries. Simply delete the rest of the countries you don't want to display. Each country has a pair, so make sure to delete both.
&#60;/p&#62;</description>
</item>
<item>
<title>startagl on "Only two countries"</title>
<link>https://www.machform.com/forums/topic/only-two-countries#post-8629</link>
<pubDate>Sat, 06 Feb 2010 04:50:29 +0000</pubDate>
<dc:creator>startagl</dc:creator>
<guid isPermaLink="false">8629@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;To use the built in address field. You would have to modify the view-functions.php file, function display_address($element),  to either only show the two countries or to do a select case to only show the two countries based on the form. &#60;/p&#62;
&#60;p&#62;However, from looking at this real quick it does not seem like the form information is available. It looks like the function only knows the element and not what form it is attached to so I am not sure you can do the select case. &#60;/p&#62;
&#60;p&#62;It would probably be easier to build you own address block using the standard components.
&#60;/p&#62;</description>
</item>
<item>
<title>paulbrennan on "Only two countries"</title>
<link>https://www.machform.com/forums/topic/only-two-countries#post-8627</link>
<pubDate>Sat, 06 Feb 2010 03:46:05 +0000</pubDate>
<dc:creator>paulbrennan</dc:creator>
<guid isPermaLink="false">8627@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi there, &#60;/p&#62;
&#60;p&#62;My question is simple - i only want to show US and Canada in country list. This was kind of discussed in another post but in that case it was conditional on something - in my case there is no condition, just need to eliminate the other countries. &#60;/p&#62;
&#60;p&#62;thanks, &#60;/p&#62;
&#60;p&#62;Paul
&#60;/p&#62;</description>
</item>

</channel>
</rss>
