Re: Some questions about file handling + some other things

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi Ralf:

In message <[email protected]>,
Ralf Schlatterbeck writes:
>On Sat, Mar 20, 2021 at 01:41:20AM -0400, John P. Rouillard wrote:
>> >or you can
>> >add <input type="file" name="@file"> multiple times. (The second
>> >solutions seems a bit ugly to me, it may depend on the browser.)
>> >This is documented in the source code, but not on the website.
>> 
>> Hmm, I didn't realize that @file could be repeated successfully. Can
>> you tell me where in the code that is documented?
>
>File is not special here. You can have multiple -N items in the form,
>e.g. to allow the user to add multiple keywords or whatever in a single
>submit. I'm using this [...]

I took his statement to mean I could have:

  <input type="file" name="@file" size="40">
  <input type="file" name="@file" size="40">
  <input type="file" name="@file" size="40">

in a template to upload three files. You are describing:

  <input type="file" name="@file" size="40">
  <input type="file" name="@file-1" size="40">
  <input type="file" name="@file-2" size="40">

(which I am not quite sure will work wihout some aditional
code. E.G. is @link@files=file-2 automaticaly added?).

Have a great weekend.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.