Solved

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

Posted on 1998-09-04
1
133 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

17 Experts available now in Live!

Get 1:1 Help Now