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   2394 Views

Avatar
jester12345

18 June 2009 at 4:02am Community Member, 8 Posts

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

19 June 2009 at 3:34am (Last edited: 19 June 2009 3:35am), Community Member, 787 Posts

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