Solved

HTML......Dynamically populate a file

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

746 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

13 Experts available now in Live!

Get 1:1 Help Now