faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 13 people (23%) answered Yes
Recently 3 of 10 people (30%) answered Yes


How do I start with page1, open new window to page2 and auto fill a form on page2

Apr 9th, 2003 12:52
dave lockard, Quin L,

What comes to mind...
 Either place it all in variables and call it in the next page...
<!--page 1-->
 <input type="text" name="name">
<!--page 2-->
myName = request.querystring("name")
 ' This is the form component from the first text box. 
 ' Create a new one for each form item
 ' If a value was passed, it will appear in the 
 ' new text box.
 <input type="text" name="name" value="<%=myName%>">
 Another alternate method would be to populate the second form on the 
same page. Here is a link to a javascript example that does exactly 

© 1999-2004 Synop Pty Ltd