Windows XP SP2: Form submit bug with input type = file using IE?

T

Tuan Pham-Barnes

Runing Windows XP with SP2, create a form with a sumbit button and an
input field with type=file. See the code example below:

<html>
<head>
<title>windows xp sp2 form submit bug</title>
</head>
<form method="get"
action="http://support.microsoft.com/default.aspx">
<body>
<input type="hidden" name="scid" value="fh;en-us;kbhowto">
<input type="file" size="50" name="bug"><br>
<input type="submit" value="submit">
</body>
</form>
</html>

If submit is clicked with nothing in the file field or the file field
text is preceeded with a drive letter (e:anything here), the form
works, but put in any text without a drive letter and the form never
gets submitted by the broswer.

Any ideas on how to fix this?

Thanks,
Tuan
 
L

Lenny Linux

Try ---------------------

</head>
<body>
<form action="http://support.microsoft.com/default.aspx"
enctype="multipart/form-data" method="post">
<input type="hidden" name="scid" value="fh;en-us;kbhowto">
<input type="file" size="50" name="bug"><br>
<input type="submit" value="submit">
<form
</body>
</html>
 
L

Lenny Linux

Post failed to work.. use --> method="get"



Lenny Linux said:
Try ---------------------

</head>
<body>
<form action="http://support.microsoft.com/default.aspx"
enctype="multipart/form-data" method="post">
<input type="hidden" name="scid" value="fh;en-us;kbhowto">
<input type="file" size="50" name="bug"><br>
<input type="submit" value="submit">
<form
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top