Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Upload Question 1

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
Hi! I Have The Following Filed In My Form -

<td align="center"><input type="file" name="OrderFile3" size="40" value="<%=Request.Form("OrderFile3")%>"></td>

I know that when you have a file type you need - ENCTYPE="multipart/form-data" in the form heading.

The problem is that when i put that in the heading, the other buttons and the page refresh does not work.

Here is the code i have for the buttons and the javascript for the page refresh -

<center><input type="submit" name="action" value="Reset">
<input type="submit" name="action" value="Save"> <!--FUNCTION TO REFRESH WEB PAGE-->
<script language="javascript">
function submitme()
{
ordersnewform.submit()
}
</script>

The above does not work when i have the ENCTYPE="multipart/form-data" in the form heading.

Any suggestions as to how to make the other buttons and the page refresh work with that in the heading?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top