Fwd: Re: [dev] Autocomplete on compose message

Chuck Hagenbuch chuck at horde.org
Mon Jul 14 06:34:02 PDT 2003


----- Forwarded message from memswiler at hotmail.com -----
    Date: Mon, 14 Jul 2003 08:38:51 -0500
    From: Michael Emswiler <memswiler at hotmail.com>
Reply-To: Michael Emswiler <memswiler at hotmail.com>
 Subject: Re: [dev] Autocomplete on compose message
      To: chuck at horde.org


You might consider waiting for the user to press the space bar (or a collection
of separators, like the space bar, comma, semi-colon, etc. or, if one isn't
pressed, the 'tab out of the field' event) before doing the lookup.
This will give you a more complete search string and reduce the number of
matching entries (especially in the large directory cases.)

Just a thought.
-MikeE>From: Chuck Hagenbuch >To: dev at lists.horde.org >Subject: Re: [dev]
Autocomplete on compose message >Date: Mon, 14 Jul 2003 09:25:12 -0400 >
>Quoting Nuno Loureiro : > > > I'm not sure if I understood correctly what you
want. You want the drop > > down only when the onblur event occurs? > >Right.
Just like the current aut-expand code; just do a search when the user
>tabs/clicks out of the field. That way you don't load *nearly* as many
>addresses into javascript, it'll be quicker, but still very useful. > > >
Anyway, I have a sugestion. I think Jan gave me a similiar sugestion in > > the
past. I could do like in auto-expand, i.e., load the list of > > addresses in
background in an iframe. This list would be created after > > the user typed
the first char in To: or Cc: or Bcc: field. This list is > > a list of records
started by such letter and that means records which > > first name or last name
or email start by that letter. > >This is still a potentially huge number, and
precludes effectively using >something like a school-wide directory in your
lookups. If you do a search on >more complete strings, you'll do much better
with large directories. > >-chuck > >-- >Charles Hagenbuch, >The alligators
were there, too, in a bathtub inside the house. > >-- >Horde developers mailing
list >Frequently Asked Questions: http://horde.org/faq/ >To unsubscribe, mail:
dev-unsubscribe at lists.horde.org The new MSN 8: smart spam protection and 2
months FREE*

----- End forwarded message -----


-chuck

--
Charles Hagenbuch, <chuck at horde.org>
The alligators were there, too, in a bathtub inside the house.


More information about the dev mailing list