Back to Top
The nuts and bolts for
Creative web development

Form was submitted with no ENCTYPE="multipart/form-data"

Question:


I can save the image name to the db now and the file gets uploaded, but here is the error mesage that comes up:

 Form was submitted with no enctype="multipart/form-data"
 Please correct the form attributes and try again.

Answer:


You are redirecting the page to it self.

Please provide a redirect page. If you are using the Insert Record SB, you
should put the Redirect page on it and NOT on the Pure Upload extension.

George Petrov

George PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. His expertise in countless languages and technologies gives inspiration and teach valuable lessons on his website – DMXzone.com which is most popular for its over high-quality Dreamweaver extensions and templates.

See All Postings From George Petrov >>

Share this Article

Comments

Not Solving the Problem

I am also getting the error of "Form was submitted with no ENCTYPE="multipart/form-data" and I have tried redirecting it to another page - same error.

I am not using the "insert record SB" but a generic "Update Record" in Dreamweaver. If I use a redirect in the Smart Image Processor - it warns me over and over that the "Update Record" behavior will not happen. If I do not put in a redirect for the Smart Image Processor, the error then appears.

Is there a solution to uploading an image and resizing it using the "Update Record" behavior?

Followed instructions as with others not results

Vs. 2.09 was working fine. Upgraded to 2.12 and now new upload pages fail with ENCTYPE="multipart/form-data" error.

ASP version on MS IIS5 2000 server.  Local machine MS Windows XP Pro and Dreamweaver X

 

Norton Antivirus

Same problem here and it has nothing to do with redirecting or anything like that. It works fine on 2 pc's and it's not working on a thirth one. I'm not sure but I remember seeing a reply on this subject about six months ago and apparently the script feature in Norton Antivirus was the one causing the problem. All you had to do was disabling it and reboot, that's it. I'm still looking to get back to that particular post but it seems to be removed from the site.

ENCTYPE="multipart/form-data Error

I found a very simply way of some what fixing part {{{{{{‘’’’’ENCTYPE="multipart/form-data"””””}}}} .

 IM using XP Client & Win2000 Server.

I Created a blank ASP page with a ({{{{{<% Response.Redirect("Details_or_Whatever_Name_you_like_to_point_after_input_or_Upload.asp")%>}}}}}}} Nothing else on the page.

I made an input form or whatever forms you’re uploading apply {{{MM Behavior Insert Record Form}} and point to the file with the Response.Redirect.

Then applied ASPLOAD2 With and Without Session(“whatever Session’) and it works.

 The only thing is the java error still happens if script debugging is not disable in IE.

See all 7 Comments