This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Country, Region, Town...
Started 15 years ago by M202A1 | 3 posts |
-
How can i import or insert a long list of countries to a drop down without having to do it manually? Can it be done via the MySQL?
Posted 15 years ago # -
There should be a default list of countries already. Are there some missing?
Around line 959 of view-functions.php you should see:
//Address
function display_address($element){$country[0]['label'] = "Afghanistan";
$country[1]['label'] = "Albania";and so on. There are almost 200 countries listed.
Posted 15 years ago # -
Yes but i do not want my users to have to give their home address. All i need is the geographical area like country, town, city, etc. I have created my own manual one that took a long time to tweak but i actually like it like that.
Posted 15 years ago #
Reply
You must log in to post.