Radio_button with arrays

Hello-

I would like to display a list of (say 5) groups of radio buttons. Each
group may have a variable number of choices. I’m wondering how to pass
the initial values (controller->view) and how to get them back out
properly.

Essentially, the result should look something like:
radio[0] = 3 (choices were 3, 15, 32)
radio[1] = 14 (choices were 1, 14)
radio[2] = 44 (choices were 42, 43, 44)
radio[3] = 97 (choices were 0, 1, 97, 43, 32, 35)

and so on.

Any suggestions would be very helpful.

Jake

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs