Solved

<FORM> and <INPUT type=FILE> WOES!!!

Posted on 1998-09-04
1
138 Views
Last Modified: 2012-05-07
Is there any way to have the <input type=file> "browse" button take in a users filename and on submission it doesn't upload the file right away. But at a later time (on another form) i can set the <input type=file> to what the user set  previously and have it automatically upload then?
0
Comment
Question by:aniston
[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 8

Accepted Solution

by:
jbirk earned 50 total points
ID: 1837365
Well, I don't think you aren going to like the answer.  Input type=file is a strange input type because it can have so many security problems.  So for these reasons you can't access the value of or set the value of the input field in JavaScript (of course HTML has no control of these things either).  Perhaps VBScript or ActiveX will let you but those are IE only.

So since this value can't be read or written, you can't save it's value or defer it until later.

Sorry,
Josh
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

696 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