Re: Some questions about file handling + some other things

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
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 in a purchase request tracker (people can submit
something to be purchased by a purchasing department, others have to
accept/reject the purchase and when everything is accepted the thing
gets ordered). Code is here: https://github.com/time-track-tool
In particular html/purchase_request.item.html which for a purchase
request can have several lines of offer items to be purchased.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
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.