I'm trying to pass info from a form that's submitted to the next 
page & I'm using Dreamweaver MX to build my pages.  I tried to use 
the tips from http://www.learnasp.com/learn/hidden.asp but can't get 
my variables to display when I preview the page (.asp in 
Dreamweaver) in IE. I wanted to first just display the variable 
value to see if the form is working, but when I type in a value 
into "zip" on my zipcode form, the submit & it goes to 
addrespage.asp, the zipcode ("zip") doesn't show up...just blank 
space.

I've noticed that Dreavweaver puts all the VBScript before the body 
of html, but the example has the definition of the variable within 
the body (above the form tag).  Is this an issue?

Below is the part of my code that matters...
For the zipcode.asp entering form...

<form action="addresspage.asp" method="post" name="zipcode" 
target="_blank" id="zipcode">
<p>&nbsp;</p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-
serif">Please enter your zip code:</font> 
<input name="zip" type="text" id="zip" size="10">
</p>
<p> 
<input name="Continue" type="submit" id="Continue" 
onfiltered="MM_goToURL('parent','addresspage.asp');return 
document.MM_returnValue" value="Continue">
</p>
<p>&nbsp; </p>
</form> 

And for the page addresspage.asp where I'm expecting the zip code to 
show up & not getting anything...

<%zip=Request.Form("zip")%>

<form name="form2" action="sellername.asp">
<div align="center"><p align="left"><font size="2" face="Verdana, 
Arial, Helvetica, sans-serif"><strong>Please enter your Home 
Address:</strong></font></p>

<p align="left"> <font color="#000000"> House # 
<input name="HouseNumber" type="text" id="Address3" size="6" 
maxlength="6"></font>
<font color="#000000"> Street Name <input name="Street" type="text" 
id="Street3" size="22" maxlength="22"></font></p>

<p align="left"> <font color="#000000"> City <input name="City" 
type="text" id="City" size="25" maxlength="25"> State <input 
name="State" type="text" id="State" size="3" maxlength="2">
<br></font><br>
Zip Code <%=zip%></p>

I didn't copy in the code to submit the form in addresspage.asp to 
sellername.asp since I'm just trying to get the zip code "zip" 
number that gets entered in from zipcode.asp to actually show up in 
addresspage.asp

Sorry this is so long!!




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to