# Please help in Multiple Checkbox and RadioButtons

**URL:** <https://www.ruby-forum.com/t/please-help-in-multiple-checkbox-and-radiobuttons/165578>\
**Category:** Rails\
**Created:** [April 15, 2009, 1:29pm UTC](https://www.ruby-forum.com/t/please-help-in-multiple-checkbox-and-radiobuttons/165578 "2009-04-15T13:29:11Z")\
**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, 1:29pm UTC](https://www.ruby-forum.com/t/please-help-in-multiple-checkbox-and-radiobuttons/165578/1 "2009-04-15T13:29:11Z")

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