# How to update the table data with the dropdown box fields?

**URL:** <https://www.ruby-forum.com/t/how-to-update-the-table-data-with-the-dropdown-box-fields/156009>\
**Category:** Rails\
**Created:** [December 19, 2008, 6:51am UTC](https://www.ruby-forum.com/t/how-to-update-the-table-data-with-the-dropdown-box-fields/156009 "2008-12-19T06:51:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@srikanth](https://www.ruby-forum.com/u/srikanth)\
**Post date:** [December 19, 2008, 6:51am UTC](https://www.ruby-forum.com/t/how-to-update-the-table-data-with-the-dropdown-box-fields/156009/1 "2008-12-19T06:51:14Z")

</div>

Hi i have a table called “streams” with columns “name” and  
“interlace”.

Using below code :

 Yes No 

using above code am creating dropdown box with fields “yes” and “no”.  
Here what i want to do is if i select the interlace field as “Yes” it  
should be updated in streams table while i am entering new stream  
details in stream table.

thanks  
Srikanth
