Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

HTML......Dynamically populate a file

Posted on 2010-09-07
2
Medium Priority
?
229 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
[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
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

660 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