Solved

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

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

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

Suggested Solutions

Title # Comments Views Activity
Non-Resizable Pharagraph 2 28
Text too large in Chrome 17 81
Link Anchor Not working 9 64
Error Handler 8 36
This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

742 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