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.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.