Solved

HTML......Dynamically populate a file

Posted on 2010-09-07
2
220 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

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

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

863 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

23 Experts available now in Live!

Get 1:1 Help Now