Displaying 1 result from an estimated 1 matches for "form__list1".
2006 Feb 02
8
How to get all selected rows in the mutli-selection listbox?
Hi,
I have created a multiple selection listbox with
rails, when I try to get the rows selected by user,
rails send back only the first one, how can I get the
other selected rows????
I created the listbox with the following function:
select_tag("form__list1",
options_for_select(["A","B","C","D"], selected = "A"),
html_options = {"size" => 5, "multiple" => true})
What I get from params is :
!map:HashWithIndifferentAccess
commit: Next
action: index
controller: cellfiles...