How to create an email field with autocomplete and auto add ; as trailer with more address?


#1

Hi,

Some questions -:)))

  • How to create an autocomplete input email box like gmail or iphone email client do?
  • How add ; as trailer when tap on name or when there are multiple address?

Thx


#2
  • get all email adresses
  • listen for search input changes
  • use ordinary javascript string match with a regexp
  • show results in a absolute positionated div
  • on click add name to list

It could look like a tag-system
http://exexzian.github.io/TagTagger.js/demo/taggerDemo.html