Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
How to hyperlink a document in MS Word w/o full path 1 35
HTML - Color not displaying correctly in EMAIL. 6 49
Asp in script 6 39
Bootstrap 3 - Style a dropdown 1 15
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…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

828 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