Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Input type file

Posted on 2014-01-30
1
Medium Priority
?
260 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
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 2000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

879 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