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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

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

SS3: Which Field Type for Multi Select?


Go to End


2 Posts   1558 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.