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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Dropdown


Reply

3 Posts   317 Views

Avatar
Arun_India

6 December 2011 at 5:32pm Community Member, 18 Posts

Hi ,

I am totally stuck with dropdown box..

How to add dropdown box in admin side.
[At the same time I want to fetch the values from database to dropdown box.]

I mean adding Category(dropdownbox) and sub-category(text) with sub category Description(textarea) in a page from admin panel.

Is it possible...?

Please help me....

Regards Arun

Avatar
swaiba

6 December 2011 at 8:09pm Forum Moderator, 1796 Posts

Have you completed the Tutorials?
http://doc.silverstripe.org/sapphire/en/tutorials

Avatar
IOTI

9 December 2011 at 1:54am Community Member, 189 Posts

here's a tutorial from ssbits that should help as well - [url]http://www.ssbits.com/tutorials/2010/dynamically-generating-a-dropdown-list/[/url]