W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] several mail addresses in input type email?

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 25 Jun 2004 21:16:41 +0200
Message-ID: <40DC7A19.5030609@annevankesteren.nl>
> Sometimes (and maybe more often than not, e.g. webmail!) one would 
> want to allow a list of E-mail addresses rather than only one in an 
> INPUT type="email". The spec doesn't discuss this as far as I can 
> see. Would it be better to allow this explicitly, stating that UAs 
> should be able to validate a comma- or semicolon-separated list of 
> mail addresses and that authors who wish to limit the field to only 
> one may specify a pattern to limit it? Something like 
> pattern=".*@[^@]*" would mean the input could only be valid if the 
> field contained one and only one @ sign.

This is basically being discussed for "select editable", but no solution 
has been found that suits all needs,

  - backwards compatible
  - forward compatible
  - implementable
  - semantic

and therefore there hasn't been looked into this yet I suppose. Having a 
comma separated list might work, but is probably too technical for most 
users.


> Thoughts? Which is in your opinion more common, type=email-single or 
> type=email-multiple?

Single. Just see all the weblogs, login forms etc.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Friday, 25 June 2004 12:16:41 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC