Page 1 of 1

Getting a list of all countries

Posted: Fri Mar 23, 2012 8:51 am
by matnatalis2012
Dear all,
I have just started to learn CMS Made Simple module development, and there fore am still very new. Am developing simple registration module, and I want to have a drop down list having all countries. How can I achieve this?

Re: Getting a list of all countries

Posted: Fri Mar 23, 2012 11:40 am
by Jos

Re: Getting a list of all countries

Posted: Fri Mar 23, 2012 12:34 pm
by matnatalis2012
Thanks. At least I have seen that CMSModule documentation of functions. The CreateInputDropdown() function will need an array, in my case, an array of all countries. I was thinking if there is method may be, which I can just call and populate those countries.