Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Fill web forms

Status
Not open for further replies.

scheppsr77

Programmer
Jan 4, 2005
10
US
I am trying to find a way to put info from one web form and add it to another web form. I have alreay build the web form that I want the info to be automatically placed into. And the original form is already build by the IT department. I am trying to find a way to fill both forms without typing the info twice. Does anyone know how to do this or give me any pointers on where to start.

Thanks in advance.
 
how is the original data stored? Can you access the data from the db, sessions?

Bastien

Cat, the other other white meat
 
just put the values in a string and write them to the value of the textbox. Done.

www.sitesd.com
ASP WEB DEVELOPMENT
 
The original data is stored in a db that I can not access. Now the HTML source code has the data that I need, I just can not put it out. Maybe I can put it out using ASP to access the web page and get the data out of the source code.

Is there anyway to get information for a web page (source code) and write it to another file automatically using ASP?
 
Not automatically, no, but with a bit of programming you can. It would seem like the easiest path, rather than trying to parse the HTML, would be to use the XMLHTTP object (search the forum, lots of examples) to fill out the IT department's form. Basically:

1. Your form is blank. User completes form and submits.

2. Your submitted-to page uses the XMLHTTP object to submit the very same data to the IT department's form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top