I could be wrong, but I think there's only two ways to solve this.

1. Have a select with possibility to select multiple values, and
"onsubmit" have a javascript function that loops through all the
options of it and makes them selected.

2. On submit, have a javascript loop through the options and assign
the values to a hidden element. Won't demand you to use a multiple-
select.

Both of these demand javascript, so maybe a better way would be to
assign the values to a hidden field while creating the select on the
server. Then again, I guess you use javascript on the page anyway...?

cheers / Wille

On Jun 25, 10:48 pm, Oscar Burgos <[EMAIL PROTECTED]> wrote:
> I have declare two selectTag in my form and I need to save all valuesg, but
> from the second select not just selected.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to