[whatwg] several mail addresses in input type email?

Hallvord Reiar Michaelsen Steen hallvors at online.no
Fri Jun 25 11:48:20 PDT 2004


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.

Thoughts? Which is in your opinion more common, type=email-single or 
type=email-multiple?
-- 
Hallvord Reiar Michaelsen Steen
hallvors at online.no / www.hallvord.com




More information about the whatwg mailing list