Re: Separating My File Field
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55738
interpreted = N
texte = on 1/27/04 3:38 PM, Justin Carroll at justincarroll@sanduskyregister.com sonoted...> I have a nice sized form with about 15 fields on it. One of them happens= to> be a file field where the user will be uploading a file. I know to do th=is I> have to have my form's enctype set to multi-part form data; however, I wa=s> wondering if anyone has thought of a way to process all the other fields> normally and then just deal with the file field by itself? Hopefully I'm> communicating this correctly.>=20> I just don't want to send my form to a processing page and then have to l=oop> through the formvariables to pick out all my extra data just because I ha=d a> file field on my form. Thanks.Here's a generic snippet that will take anything that's *not* a file andcreate a text variable of the same name as the ones passed in the form (cod=egoes all on one line).[formvariables][hideif [url][name][/url]^filename=3D%22][text][middlestartAfter=3Dname=3D"&endBefore=3D"][name][/middle]=3D[value][/text][/hideif][/form=variables](one week d=E9j=E0 vu : )Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
on 1/27/04 3:38 PM, Justin Carroll at justincarroll@sanduskyregister.com sonoted...> I have a nice sized form with about 15 fields on it. One of them happens= to> be a file field where the user will be uploading a file. I know to do th=is I> have to have my form's enctype set to multi-part form data; however, I wa=s> wondering if anyone has thought of a way to process all the other fields> normally and then just deal with the file field by itself? Hopefully I'm> communicating this correctly.>=20> I just don't want to send my form to a processing page and then have to l=oop> through the formvariables to pick out all my extra data just because I ha=d a> file field on my form. Thanks.Here's a generic snippet that will take anything that's *not* a file andcreate a text variable of the same name as the ones passed in the form (cod=egoes all on one line).[formvariables][hideif [url][name][/url]^filename=3D%22][text][middlestartAfter=3Dname=3D"&endBefore=3D"][name][/middle]=3D[value][/text][/hideif][/form=variables](one week d=E9j=E0 vu : )Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Rob Marquardt
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] [ipaddress] - [RealIP] - Not working properly (2016)
Webstar 1.3.1 PPC (1997)
What really killed WebDNA? (2007)
WebCat2 beta FTP site (1997)
HELP WITH DATES (1997)
Re:Navigator 4.01 (1997)
Webcat Manual and TeaRoom Examples Uses Different Examples. (1997)
I'm new be kind (1997)
Creating a folder with WebCat? (2000)
Maybe off topic but how to charge (1997)
Multiple Replaces? (1997)
WEBDNA tags don't process in a .js file (2002)
Out of the woodwork (2007)
Make sure I understand this??? (1997)
OT: javascript help (2003)
looping table rows (1999)
searching illegal HTML (2002)
emailer on Windows Beta 18 (1997)
Multiple Pulldowns (1997)
If Empty ? (1997)