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

[whatwg] What should the value attribute be for multi-file upload controls in WF2?

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 20 Jun 2008 20:48:22 +0200
Message-ID: <485BFB76.3000102@lachy.id.au>
Jo?o Eiras wrote:
> I'd suggest for HTMLInputElement to have a .files or .paths property
> which would be an array of all the files choosen, names only.

Whether or not it's worth doing that really depends what use cases we're 
trying to address.  The initial post in this thread was just about 
defining what .value returns for file controls, which needs to be 
defined anyway and is what this thread should really focus on.

I don't think we should jump to the conclusion that we really need to 
provide an array of individual file names without defining why that's 
even useful for authors, especially when doing so doesn't actually 
address the original problem that was raised.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Friday, 20 June 2008 11:48:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC