Solved

HTML......Dynamically populate a file

Posted on 2010-09-07
2
223 Views
Last Modified: 2012-06-27
Hello All,

We have a situation in which we have to fill up a webform for many users [kind of a data entry project].We saved the html file from the customer's site and made some changes in the javascript so that most of the fields are filled by onLoad [the JS function].We already have the required data so its not a problem to get that in the html form.The issue comes on the  <input type="file">.We want the value to be taken up dynamically.Like onLoad the value populates in it.Right now we have to manually select the file and then hit submit which increases the time required to submit one form.
Please guide us on how can we dynamically fill up that part.....

PS: The names of the files we want to upload are all in a series ,for eg.  file 1,file 2 etc.....

Thanks
0
Comment
Question by:SHALABH
2 Comments
 
LVL 11

Expert Comment

by:rajvja
ID: 33618149
0
 
LVL 2

Accepted Solution

by:
SHALABH earned 0 total points
ID: 33639601
For now we will be using an old Opera  version which allows the value attribute in "input type=file" and gives an alert on submission.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
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…
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…

821 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