Form - Move item from left listbox to right listbox


I have been searching around to no avail and am wondering if there is an easy way to do this with Yii. I’m not even sure of the right name of it but see it often in forms on the web.

A listbox on the right with left and right arrows in between another listbox on the left. You can select one or many items in the box on the left and move them to the box on the right. I care about what items are in the box on the right when the form is submitted.

Can anyone point me in the right direction?

Thanks in advance

You are looking for ‘multiselect’ functionality.

Look at the yii extension emultiselect for an example of what you are trying to do.

This is perfect thanks

There are others as well. I started with that one and moved on to asmSelectX for some of my dropdowns.