# Autocompleter

**URL:** <https://www.ruby-forum.com/t/autocompleter/117372>\
**Category:** Ruby\
**Created:** [October 16, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/autocompleter/117372 "2007-10-16T13:18:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrickreilly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@patrickreilly](https://www.ruby-forum.com/u/patrickreilly)\
**Post date:** [October 16, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/autocompleter/117372/1 "2007-10-16T13:18:08Z")

</div>

Hi there,  
i use the Autocompleter in a intranetweb. its fantastic.

i fill the array with text from a database. my problem is now:

i would like to hand over a second value to the autocompleter to show in  
an additional textfield. example:

textfield1  
textfield2

i would like to push the text into textfield1 and the “price” into  
textfield2.

is this possible?

thanks in advance.  
rgds  
patrick

---

<div class="post-metadata">

**Author:** ![patrickreilly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@patrickreilly](https://www.ruby-forum.com/u/patrickreilly)\
**Post date:** [October 16, 2007, 1:26pm UTC](https://www.ruby-forum.com/t/autocompleter/117372/2 "2007-10-16T13:26:28Z")

</div>

On Oct 16, 2007, at 1:18 PM, Patrick Rost wrote:

> textfield2
> 
> i would like to push the text into textfield1 and the “price” into  
> textfield2.
> 
> is this possible?

Yes, but please repost your question to rubyonrails-talk or  
rubyonrails-spinoffs.

– fxn

---

<div class="post-metadata">

**Author:** ![patrickreilly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@patrickreilly](https://www.ruby-forum.com/u/patrickreilly)\
**Post date:** [October 16, 2007, 1:28pm UTC](https://www.ruby-forum.com/t/autocompleter/117372/3 "2007-10-16T13:28:43Z")

</div>

ok - sorry !
