Forum: Ruby on Rails Multiple CheckBox and Radio Buttons

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
77b62b33c21ad22b897eebbb6c24fe46?d=identicon&s=25 Naveen Naveen (psnavaneethan)
on 2009-04-15 15:09
     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
Could you please tell 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.
Could you please tell 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.