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:

Data Model Questions /

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

SS3: Which Field Type for Multi Select?


Go to End


2 Posts   1096 Views

Avatar
slith

Community Member, 7 Posts

28 June 2012 at 9:27pm

In a SS3 Dataobject, what field type can I use to display a many_many relationship that can be checked or selected?

I've tried using GridField, but I'm only able to find relationships using search/autosuggest and then linking them. I would like to list related items so user can just check the desired ones.

I also tried DropdownMultiSelectField but my understanding is this only work with Sitetree.

Avatar
(deleted)

Community Member, 473 Posts

29 June 2012 at 8:39am

If you don't need to add new items, just manage relations to existing ones, a CheckboxSetField would work.