[whatwg] File Upload controls
ian at hixie.ch
Sat Aug 21 04:29:40 PDT 2004
On Thu, 22 Jul 2004, Malcolm Rowe wrote:
> Firstly, if I want to allow a user to upload more than one file through
> file upload control, but I don't care how many (for example: as
> attachments to an email, which don't have any particular limit), how do
> I express this? Can I use 'max' to mean 'more than one, but not
> limited'? Do I need to pick a large arbitrary number - 'max="9999"'?
I guess yes. Short of defining some keyword that means unlimited, I can't
think of a sensible way to do it. I've added a note.
> [incidentally, 'min' and 'max' are specified as "positive integers" for file
> upload controls. Is zero positive?]
> Secondly, what is the interaction between 'min', 'max', and 'required'
> for file upload controls? Specifically, what does 'required' mean for a
> file upload control? Is it equivalent to 'min=1' or 'min=max', or
> something else? What happens if all three are specified?
Good call. Defined.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg