Input type file issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karthickkuchanur
    New Member
    • Dec 2007
    • 156

    Input type file issue

    Hi ,

    I have the requirement like in
    Code:
    <html>
    <body>
    
    <form action="form_action.asp">
    First name: <input type="text" name="FirstName" value="" /><br />
    Last name: <input type="text" name="LastName" value="" /><br />
    <input type="file" value="Submit" focus="false"/>
    </form>
    </body>
    </html>
    In this i want to manually enter the path, instead of clciking browse button.

    Could you please help to fix this
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Use a textbox control instead.

    Comment

    • ariful alam
      New Member
      • Jan 2011
      • 185

      #3
      path in where? in action attribute of form tag?

      than, try to use JavaScript.

      Comment

      • karthickkuchanur
        New Member
        • Dec 2007
        • 156

        #4
        Hi ,
        Code:
        <[B]input type="file"[/B] value="Submit" focus="false"/>
        if we execute this we will have text box and browse button.

        Here user can't able enter the path manually instead he needs click the browse button to find the path to upload the date

        Note : We can able to enter text in IE 7 but i got the problem in I8

        Comment

        • karthickkuchanur
          New Member
          • Dec 2007
          • 156

          #5
          Hi ,

          if use the test box means we can't able upload huge data.

          Then how to relate with browse button

          Note : We can able to enter text in IE 7 but i got the problem in I8

          Comment

          • gits
            Recognized Expert Moderator Expert
            • May 2007
            • 5388

            #6
            this seems to be a security feature introduced with IE8: http://blogs.msdn.com/b/ie/archive/2...m-changes.aspx

            Comment

            • Rabbit
              Recognized Expert MVP
              • Jan 2007
              • 12517

              #7
              They can always just click browse and type in the path in the dialog that comes up.

              Comment

              • karthickkuchanur
                New Member
                • Dec 2007
                • 156

                #8
                But in IE 7 we can able to type in test box also

                Comment

                • Rabbit
                  Recognized Expert MVP
                  • Jan 2007
                  • 12517

                  #9
                  Yes, but as @gits said, it's a security measure that was implemented in IE8 to disallow it.

                  Comment

                  Working...