Multiple CheckBox and Radio Buttons

 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 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