W3C home > Mailing lists > Public > public-html-comments@w3.org > November 2009

Value of <input type=file multiple> should list all files

From: Geoff Lankow <geoff@darktrojan.net>
Date: Mon, 02 Nov 2009 12:33:15 +1300
To: public-html-comments@w3.org
Message-id: <4AEE1ABB.1090507@darktrojan.net>
the filename of the first file in the list of selected files 
<http://www.w3.org/TR/html5/forms.html#concept-input-type-file-selected>, if 
any, or the empty string if the list is empty. On setting, it must throw 
an |INVALID_ACCESS_ERR 
<http://www.w3.org/TR/html5/infrastructure.html#invalid_access_err>| 
exception.

Why only the first file in the list? It can't be for 
backwards-compatibility, as the multiple attribute never existed before 
this spec. Doesn't it make sense to list all the files?

-Geoff
Received on Monday, 2 November 2009 01:51:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:01 GMT