Solved

Input type file

Posted on 2014-01-30
1
249 Views
Last Modified: 2014-01-30
Does input type file NOT display the value clause, if present?

Here is the HTML:

            <tr>
                        <td>Spec. Sheet</td>
                        <td><input type="file" size="50" name="ss" value="Christy 67 Series Hose Clamp Spec Sheet 1-24-2014.pdf"></td>
                  <tr>

Attached is a screen shot of the result (in Firefox).

Why does the value not display>
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39821954
You cannot set the value of a FILE input.  It is there for the user to choose the file to upload.  Being able to set the value would be a security risk
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Send email using HTML and PHP in separate file 5 60
Hit counters in SharePoint 2013 2 62
SSL unsecure page mystery 17 47
Sticking text to shapes in Raphael.js 6 41
This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question