AutoCompleter without the AutoComplete

Hi

I’ve written a system which requires the entry of lots of customers.

Trusting this to an OAP (I know!!!) it appears that I now have lots
of duplicate customers … which is going to cause issues.

I know I can use the validate clauses in the model when it saves, but
want something a little bit better than this.

I would like it that when I type the first three letters of a forename
into a text field, a DIV somewhere on the page updates with the
records it retrieves from the Customers Database matching the names. A
bit like the Ajax.Autocompleter but without the autocomplete thing. I
just want it to query the database and list the results - but
dynamically so the more letters I type, the more refined the list
becomes.

I’ve tried playing around with various things, but nothing seems to be
working.

Any ideas would be appreciated.

Thanks
Darren

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.

I did that exact thing with the way that autocomplete works - except
each key is a new get. The response was a set of li elements.

On Tue, Dec 29, 2009 at 5:01 PM, Ruby on Rails: Talk
[email protected] wrote:

I would like it that when I type the first three letters of a forename
Any ideas would be appreciated.

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.