# ROR combo box

**URL:** <https://www.ruby-forum.com/t/ror-combo-box/172558>\
**Category:** Rails\
**Created:** [July 23, 2009, 9:44am UTC](https://www.ruby-forum.com/t/ror-combo-box/172558 "2009-07-23T09:44:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![genie007](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/6de8d8/32.png) [@genie007](https://www.ruby-forum.com/u/genie007)\
**Post date:** [July 23, 2009, 9:44am UTC](https://www.ruby-forum.com/t/ror-combo-box/172558/1 "2009-07-23T09:44:18Z")

</div>

I am looking for a combo box for rails . I need to display a list of  
existing items along with an option for the user to enter input like  
text field. Has anyone used one for RoR?

---

<div class="post-metadata">

**Author:** ![genie007](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/6de8d8/32.png) [@genie007](https://www.ruby-forum.com/u/genie007)\
**Post date:** [July 23, 2009, 11:56am UTC](https://www.ruby-forum.com/t/ror-combo-box/172558/2 "2009-07-23T11:56:25Z")

</div>

genie007 wrote:

> I am looking for a combo box for rails . I need to display a list of  
> existing items along with an option for the user to enter input like  
> text field. Has anyone used one for RoR?

Assuming that you want autocomplete functionality in a combo box (to  
discourage people typing in variations of things that you already have  
as an option), i’d recommend the jQuery autocomplete plugin, which works  
on a regular text field. It’s highly configurable and can work with  
static arrays of options or remote requests for options, which is very  
useful when you want to autocomplete from a large set of options.

here’s the demo page which has some examples  
[http://jquery.bassistance.de/autocomplete/demo/](http://jquery.bassistance.de/autocomplete/demo/)
