Select_tag and multiple => true


#1

I was looking at how a select tag when set to multiple = true is
returned is just a comma separated list. My issue is that I would
rather not add quotes around the values in the list and it is
possible that my list may contain a comma. Is there a way to force
either to wrap the values returned to the server in quotes or force
an array to be returned as opposed to the comma separated one that I
see?

Thanks

Andrew


#2

That is controlled by the browser, if you really need to you could
create a hidden form field and populate it using javascript.
If the select is dynamically created its best to use the id column for
the value and translate as needed.