View Full Version : multipart/form-data best practice

11-14-2008, 03:20 PM
I just wanted to ask for an opinion.

Is there anything wrong with declaring a form that will not be used in uploading anything as enctype="multipart/form-data"

I am taking over a project that needs one form to be an upload form, but all the forms until now are automatically generated, and if possible I would like to keep using the methods already made, which would mean editing whatever makes these forms to always make them include enctype="multipart/form-data"


11-14-2008, 11:46 PM
i use enctype="multipart/form-data" on my contact form at http://www.owt200x.us/contactform and it doesnt have an upload slot (unless needed) and it works fine with enctype="multipart/form-data"