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:

Archive /

Our old forums are still available as a read-only archive.

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

Load file for dropdown menu

Go to End



Community Member, 2 Posts

2 March 2007 at 2:12pm

it can be better to have an other option to generate the dropdown menu in a form, by simply loadind a data-file.

This can be usefull for long list such as : countries,cities...

for example i want in my form a dropdown menu wich list all the countries in the's so boring to add one by one the name of each country.

it could take 4 seconds to do it with a file.

the file should have a simple structure like :

item1⎢item2⎢item3⎢item4⎢item5 ...............item100⎢item101⎢item102...