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.

All other Modules /

Discuss all other Modules here.

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

Userform: Country Drop Down List


Reply


2 Posts   2413 Views

Avatar
jester12345

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?

Avatar
Fuzz10

Community Member, 787 Posts

19 June 2009 at 3:34am

Edited: 19/06/2009 3:35am

Hmmm...

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

See :
http://doc.silverstripe.com/doku.php?id=form-field-types