display form along with selected values.
hi,
i am new to ASP, and it seems like you guys are gurus... :(
well i need little help in displaying user selected values on the next form. plzzz help cuz i am stuck for last 1 week...i was able to get the value for the text fields, by using session variables...and i can save and display the name of the radio button by using session variable but i want to display the form with selected value....
Thanx.... any help is great
:-)
Al
i am retrieving the user values from form 1 and displaying in a table on form 2. which is working good. but when i try to disply the same form with user selection its not showing me the user selection.
-------------------------------------
FORM 1
-------------------------------------
<form action="form2.asp" method="post">
<INPUT type=radio CHECKED name=travel value ="Air">By Air
<INPUT type=radio name=travel value ="Road">By Road</p>
<INPUT type=radio name=travel value ="Ship">By Ship</P>
<INPUT type=radio name=travel value ="limousine">limousine
------------------------------------
FORM 2 (this is working fine)
------------------------------------
<form action= "form3.asp" method="post" >
<% dim travel
travel = Request.Form("travel")%>
<%if travel = "Air" then Response.write("By Air")%>
<%if travel = "Road" then Response.write("By Road")%>
<%if travel = "Ship" then Response.write("By Ship")%>
<%if travel = "limousine" then Response.write("Limousine")%>
<INPUT TYPE="HIDDEN" NAME="travel" VALUE="<%Session("Z") = request.form("travel")%>">
----------------------------------------
FORM 3 (**problem**)(this is where i want to display form1 along with user entered values)
----------------------------------------
"<%=Session("Z")%>"
<INPUT type=radio CHECKED name=travel value ="Air">By Air
<INPUT type=radio name=travel value ="Road">By Road
<INPUT type=radio name=travel value ="Ship">By Ship
<INPUT type=radio name=travel value ="limousine">limousine
|