If you have an autocomplete and you have several text fields that have the other columns from the db. How do you autocomplete on a box and when you select it it fills in the other text fields with the rest of the data from the table?
on 2009-05-29 08:37
on 2009-05-29 20:30
on 2009-05-29 20:52
ok where do I do that at?
on 2009-06-01 06:56
Chris H. wrote: > ok where do I do that at? Have you tried googling for instructions? When I try: http://www.google.com/search?q=rails+autocomplete The first hit is: http://codeintensity.blogspot.com/2008/02/auto-com... Seems to me to tell you exactly what you are asking.
on 2009-06-01 07:19
OK, pardon my ignorance I guess. Should I do set an instance variable for the output then use that in the RJS to populate the rest of the text_fields with the other data? Seems that is the way to go. On May 31, 9:56 pm, Jonathan R. <rails-mailing-l...@andreas-
on 2009-06-01 07:22
Actually, sorry, that page indeed didn't answer your question. Try this one though. Googled for "rails autocomplete multiple values" http://www.wayne-robinson.com/journal/2006/11/11/m... This is not something I've done myself before though, sorry.
on 2009-06-01 07:51
WOW, that is cool. I cannot thank you enough. I guess I will learn to google properly. Never though of asking for the obvious. DOH!! On Sun, May 31, 2009 at 10:22 PM, Jonathan R. <