Hi all,
I’m new on rails, I need to send a list from the template to the
controller but if i define a list of checkbox wiith the some name the
result is only 1 in the param into the controller … how can i do?
many thanks
MuCcA
Hi all,
I’m new on rails, I need to send a list from the template to the
controller but if i define a list of checkbox wiith the some name the
result is only 1 in the param into the controller … how can i do?
many thanks
MuCcA
On Jun 5, 8:44 am, mucca [email protected] wrote:
Hi all,
I’m new on rails, I need to send a list from the template to the
controller but if i define a list of checkbox wiith the some name the
result is only 1 in the param into the controller … how can i do?
The key with array parameters is that the name of the input should end
with []. If you created a list of checkboxes all with name[], and with
values 1,2,3,… then your rails app should get an array parameter
called name
Fred
Ok i’l try…
many thanks
Frederick C. ha scritto:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs