I want to have an input widget with autocompletion for multiple
entries. Similar to the “to:” filed in Outlook email, enter part of a
name, it autocompletes, enter a semicolon and do the same thing in the
same field.
anyone know of a simple way to do this? I looked through a long list
of plugins and didn’t see a canned solution there.
On Jan 23, 2007, at 6:52 AM, Joe at CodeGear wrote:
I want to have an input widget with autocompletion for multiple
entries. Similar to the “to:” filed in Outlook email, enter part of a
name, it autocompletes, enter a semicolon and do the same thing in the
same field.
Have you tried
text_field_with_auto_complete :email, :to, {}, :tokens => ‘;’
?
That rightmost hash (completion_options) is passed to
auto_complete_field, see its documentation.
– fxn