Forum: Ruby on Rails Please help in Multiple Checkbox and RadioButtons

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
77b62b33c21ad22b897eebbb6c24fe46?d=identicon&s=25 Naveen Naveen (psnavaneethan)
on 2009-04-15 13:29
     I am using multiple check box (more than 1 checkboxes) and a radio
button and when I click the "Submit" button, it calls the "create"
method it is inserting only 1 value for checkbox and also for the radio
button.
How to insert multiple check box values in create.

     Also, in the scaffold edit page, the default "edit" method displays
all the fields (including checkbox and radio buttons) as
"text_field"(text box) with only single value. How to populate multiple
checkbox and radio buttons in the edit page with the values populating.
This topic is locked and can not be replied to.