fischadler
Programmer
Take a look at the form below:
<FORM ACTION="upload_news_pic.asp" METHOD=POST enctype="multipart/form-data" id="form2" name="form2">
<INPUT name="file1" type="file" size="60">
<BR>
<input type="text" name="txtCaption" size="20"><br>
<br>
<input type="submit" value="Upload" name="B3">
</FORM>
The parameters inside the "text" type input named "txtCaption" is not passed to "upload_news_pic.asp". The problem seems to be with 'enctype="multipart/form-data"'. When I remove that, the parameter is passed. But then the uploading function does not work. I am using this form for uploading pictures.
Is there a way around this?
<FORM ACTION="upload_news_pic.asp" METHOD=POST enctype="multipart/form-data" id="form2" name="form2">
<INPUT name="file1" type="file" size="60">
<BR>
<input type="text" name="txtCaption" size="20"><br>
<br>
<input type="submit" value="Upload" name="B3">
</FORM>
The parameters inside the "text" type input named "txtCaption" is not passed to "upload_news_pic.asp". The problem seems to be with 'enctype="multipart/form-data"'. When I remove that, the parameter is passed. But then the uploading function does not work. I am using this form for uploading pictures.
Is there a way around this?