# Multiple CheckBox and Radio Buttons

**URL:** <https://www.ruby-forum.com/t/multiple-checkbox-and-radio-buttons/165583>\
**Category:** Rails\
**Created:** [April 15, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/multiple-checkbox-and-radio-buttons/165583 "2009-04-15T15:09:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psnavaneethan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@psnavaneethan](https://www.ruby-forum.com/u/psnavaneethan)\
**Post date:** [April 15, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/multiple-checkbox-and-radio-buttons/165583/1 "2009-04-15T15:09:42Z")

</div>

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