This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Removing countries in address field
Started 11 years ago by TFteam | 5 posts |
-
I am wondering if there is a way to remove all countries but US and Canada in the address field. I noticed that there is an option to select 'default country' but I rather just have them hidden or removed to avoid further trouble and confusion. Please advise. Thanks.
Posted 11 years ago # -
Hi, i had to look for the countries because i wanted to alter those mentioned at the top so i can suggest you to look in view-functions.php and search for mf_get_country_list; there you will see the countries into 2 php arrays.
One option would be to comment all the countries but the 2 you want; or to modify in mf_display_address the use of $country.Posted 11 years ago # -
Perfect! Thanks alot.
Posted 11 years ago # -
I just realized that it doesnt seem to really work for some reason. Is there anyway to do this? Thanks.
Posted 11 years ago # -
What error did you get?
MachForm Founder
Posted 11 years ago #
Reply
You must log in to post.