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:

All other Modules /

Discuss all other Modules here.

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

MultiSelectField Fix

Go to End

28 Posts   8177 Views


Forum Moderator, 1899 Posts

4 August 2011 at 9:10am

For anyone reading this - is a great alternative


Community Member, 83 Posts

4 August 2011 at 9:24pm

hi jam13,

in addition to validation handling we added some other features to the module yesterday.

1) counting the items in both columns and show the number under each column
2) checkbox "Select All" on both sides
3) search filter above the columns that filters both cloumns while typing

We didnt test them very extensive but at a first look they seem to work fine.

If you like i can give you the code so that you can integrate it into your next release.



Community Member, 62 Posts

16 September 2011 at 3:03pm

Edited: 16/09/2011 3:13pm

Itemsetfield quickly got the job done. Thank you ajshort.

My question is if there is any way to change $default_options per page type. I haven't looked into changing ItemSetFields default options.

I'd like to make this Sortable, and Turn off the Picked items in the search.


Community Member, 62 Posts

17 September 2011 at 9:48pm

For example, The new config accepts options in the 4th argument as an array

		$fields->addFieldToTab('Root.Content.Testimonials', new HasManyPickerField(
			'Pick a Testimonial',
				'Sortable' => true,
				'ShowPickedInSearch' => false

Go to Top