When the autocomplete value is selected do an ajax call to your application returning the data you need to fill in using a format you can parse in JavaScript like JSON and set the form values.
On May 29, 12:36 am, Me <[email protected]> wrote: > 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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

