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

Discussion in 'HTML' started by Tuan Pham-Barnes, Nov 22, 2004.

  1. 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
    Tuan Pham-Barnes, Nov 22, 2004
    #1
    1. Advertising

  2. Tuan Pham-Barnes

    Lenny Linux Guest

    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>
    ------------------------



    "Tuan Pham-Barnes" <> wrote in message
    news:...
    > 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
    Lenny Linux, Nov 22, 2004
    #2
    1. Advertising

  3. Tuan Pham-Barnes

    Lenny Linux Guest

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



    "Lenny Linux" <> wrote in message
    news:L4uod.88082$-kc.rr.com...
    > 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>
    > ------------------------
    >
    >
    >
    > "Tuan Pham-Barnes" <> wrote in message
    > news:...
    > > 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

    >
    >
    Lenny Linux, Nov 23, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. George
    Replies:
    5
    Views:
    762
    =?Utf-8?B?S2VuIEJlYXJk?=
    Aug 24, 2004
  2. Guy
    Replies:
    5
    Views:
    2,814
    brucie
    Dec 13, 2003
  3. Likhith Areekkal

    Calendars overlap : IE SP2 ; WinXP SP2

    Likhith Areekkal, Dec 23, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    129
    Likhith Areekkal
    Dec 23, 2004
  4. fochie
    Replies:
    0
    Views:
    304
    fochie
    Feb 1, 2005
  5. Replies:
    3
    Views:
    655
Loading...

Share This Page