User:Mconnor/Pending/WeaveContactAutocomplete

< User:Mconnor
Revision as of 02:46, 4 March 2009 by Mconnor (talk | contribs) (New page: Braindumping content here: * Want to use contact data from Weave to do autocomplete in content. * HTML5 has "email" type that takes and sanitizes comma-separated email addresses http://ww...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Braindumping content here:

  • Want to use contact data from Weave to do autocomplete in content.
  • HTML5 has "email" type that takes and sanitizes comma-separated email addresses

http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#e-mail-state has the spec.

  • Basically, we'd hook this particular input type via a similar mechanism to login manager
    • probably for perf we'd want a generic listener that various services register for
  • we can copy/paste code from password manager to do the autocomplete listener bits
  • need to do setvalue in a way that depends on whether the input supports multiple emails, and appends rather than replaces if the multiple attribute is true. comma-separated is easy.

open questions:

  • support the name+email syntax? feed back to HTML 5 WG? is there an RFC or is this just de facto standard?

"Mike Connor" <mconnor@mozilla.com>