Solved

Input type file

Posted on 2014-01-30
1
234 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 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now