Using Multiple select Dropdown with database

Hi all,
I am working on a database and need the capabilities to have a drop
down field (list) that can handle multiple selections. I cannot figure
out how to store the data in the database, retrieve the values from the
database and the type of field to choose. For example, I’ve list of
locations in my view.rhtml .I want to store selected values in database
and if retrieve them when edit the data.
Please help me out.

Thanks,

I have the same problem. Did you ever get this figured out?

Jim wrote:

I have the same problem. Did you ever get this figured out?

I also have same problem. Get to ctrl and click on dropdown list but
cant save selections to DB.

Rahul Ha wrote:

Hi all,
I am working on a database and need the capabilities to have a drop
down field (list) that can handle multiple selections. I cannot figure
out how to store the data in the database, retrieve the values from the
database and the type of field to choose. For example, I’ve list of
locations in my view.rhtml .I want to store selected values in database
and if retrieve them when edit the data.
Please help me out.

Thanks,

If you type in the following in your combo box code then though you wont
get a drop down list but you will get a multiple select box.

:multiple=>true