Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Load file for dropdown menu

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

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

Page: 1
Go to End
Author Topic: 1540 Views
  • mano_rossa
    Avatar
    Community Member
    2 Posts

    Load file for dropdown menu Link to this post

    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 world...it'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...

    1540 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.