Print Page | Close Window

multipage multipart/form-data form

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=20892
Printed Date: 29 March 2026 at 8:42am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: multipage multipart/form-data form
Posted By: tjodalv
Subject: multipage multipart/form-data form
Date Posted: 02 August 2006 at 3:58pm

I use script from http://www.asp101.com/samples/wizard.asp - http://www.asp101.com/samples/wizard.asp to create multipage form, and script works just fine. Problem is that my form have to be multipart/form-data because I have to upload an image too. The above example doesn't work when form is multipart/form-data.

I am using Persits ASPUPload component for image upload. Can anyone help me to adjust that script to work with multipart/form-data form.

Thank you very much
Tjodalv




Replies:
Posted By: lostcontrol
Date Posted: 09 August 2006 at 12:36pm
You need to create another page that will handle the form request (i.e. receive_form.asp), and in wizard.asp the form should be somethling like:

<form action="receive_form.asp" method="post" enctype="multipart/form-data" name="form1" id="form1">

However, you wont be able to use the wizard as it works now where it posts information step-by-step, everything should be posted at once.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net