Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- processing form types
- William Tasso
November 13, 2006, 3:00 pm
rate this thread
Greetings one and all
I have a page which contains several forms. One/some of these forms is a=
file upload form which needs the attribute: enctype=3D"multipart/form-da=
Is it possible to process all forms using the same script? Normally I'd=
simply test for the value of the 'submit' button but this is not possibl=
in this situation.
FWIW: This is classic ASP/vbScript but I can probably do an inline =
translate from other environments/languages if there's a solution.
Thanks for reading.
- Benjamin Niemann
November 13, 2006, 3:10 pm
Re: processing form types
Not sure, if I understand the question correctly...
You could add a hidden field to each form, so the script knows which form it
has to handle.
You may also add different query strings to the FORMs action (if all forms
Most environments should be able to handle the two different enctypes
transparently, so you probably don't have to worry about this.
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de /