# How to create a select list box and be able to write in it

**URL:** <https://www.ruby-forum.com/t/how-to-create-a-select-list-box-and-be-able-to-write-in-it/124915>\
**Category:** Rails\
**Created:** [January 3, 2008, 7:05pm UTC](https://www.ruby-forum.com/t/how-to-create-a-select-list-box-and-be-able-to-write-in-it/124915 "2008-01-03T19:05:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [January 3, 2008, 7:05pm UTC](https://www.ruby-forum.com/t/how-to-create-a-select-list-box-and-be-able-to-write-in-it/124915/1 "2008-01-03T19:05:50Z")

</div>

I’m trying to create some kind of select box, with multiple names. I  
would like to have a sidebar but also be able to write the first later  
of those names. For example, if I am writing “Col” then the name Colsa,  
witch is in the list, appears.

Is it possible?

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [January 3, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/how-to-create-a-select-list-box-and-be-able-to-write-in-it/124915/2 "2008-01-03T19:14:51Z")

</div>

You can use an observe\_field to observe the sidebar and then change the  
value in the select box using rjs.
