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

Frode Børli frode at seria.no
Thu Jun 19 15:57:57 PDT 2008


Sorry for misunderstanding. Ofcourse it is up to the user agent to
decide the appearance. If the value attribute should be accessible
from script, then I would wish it was an array when accessed from
script. If it must be a string, then I think it the control itself
should contain multiple input type=file elements, each with a single
value - accessible trough DOM.

Separating by comma is not good enough, as file names can contain comma.

Frode

2008/6/20 Adele Peterson <adele at apple.com>:
> That's a suggestion for the design of the control, but I was asking
> specifically about the value attribute, which can be accessed from script as
> a string.
>
> - Adele
>
> On Jun 19, 2008, at 2:56 PM, Frode Børli wrote:
>
>> I think it should be a select box containing each file name and
>> perhaps an icon, and when you select a file - it asks you if you want
>> to remove the file from the upload queue.
>>
>> Frode
>>
>> 2008/6/19 Adele Peterson <adele at apple.com>:
>>>
>>> Hi all,
>>>
>>> I'm looking at the Web Forms 2 specification for the multi-file upload
>>> control that uses the min/max attributes.  When multiple files are
>>> selected,
>>> its unclear what the value attribute should contain.  It could contain
>>> just
>>> the first filename, or a comma separated list of all of the filenames.  I
>>> think it will be useful though to add something about this in the
>>> specification for consistency.
>>>
>>> Thanks,
>>>      Adele
>>>
>>
>>
>>
>> --
>> Best regards / Med vennlig hilsen
>> Frode Børli
>> Seria.no
>>
>> Mobile:
>> +47 406 16 637
>> Company:
>> +47 216 90 000
>> Fax:
>> +47 216 91 000
>>
>>
>> Think about the environment. Do not print this e-mail unless you really
>> need to.
>>
>> Tenk miljø. Ikke skriv ut denne e-posten dersom det ikke er nødvendig.
>
>



-- 
Best regards / Med vennlig hilsen
Frode Børli
Seria.no

Mobile:
+47 406 16 637
Company:
+47 216 90 000
Fax:
+47 216 91 000


Think about the environment. Do not print this e-mail unless you really need to.

Tenk miljø. Ikke skriv ut denne e-posten dersom det ikke er nødvendig.


More information about the whatwg mailing list