Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » CMS - dataojbect seach - defining dropdown

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

Page: 1
Go to End
Author Topic: 324 Views
  • Futureweb
    Community Member
    232 Posts

    CMS - dataojbect seach - defining dropdown Link to this post

    in the CMS, i'm trying to define searchable field for my dataobject:

    static $searchable_fields = array(
    'Status' => array(
           'title' => 'Status..',
    'field' => 'DropdownField',
    'filter' => 'ExactMatchfilter')

    however, i want some preset options in my drop down box - such as 'paid' 'cancelled' 'shipped' etc..
    any ideas?


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.