Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Userform: Country Drop Down List

Go to End

2 Posts   2856 Views


Community Member, 8 Posts

18 June 2009 at 4:02am

Many of our forms need a country drop-down list. The site admins are getting tired of having to type in the same 57 countries over and over again for each new form they create (lots of landing pages...).

How do I create a new field type that has pre-populated data?


Community Member, 791 Posts

19 June 2009 at 3:34am

Edited: 19/06/2009 3:35am


You could try manually adding a CountryDropdownField to the form (with a Decorator maybe?)

See :