ah, sorry, Request.QueryString is for getting form data from a GET request, Request.Form is for getting data from a POST request. So depending on whether your form method=POST or method=GET or you build the string by itself as part of an addr (ie
you will use, respectively, Request.Form, Request.QueryString, Request.QueryString.
With radio and checkbox types you receive back only the selected value, so you will need to rebuild the controls and do an if-check to see which one is selected. With multiple selections from a checkbox you will receive a comma-delimited list of values, so here is an example
Code:
MyPage.asp
<%
Option Explicit
%>
<html>
<body>
<form method=GET action="myPage.asp">
Text: <input type="text" name="txtGeneric" value="<%=Request.QueryString("txtGeneric")%>"><br>
A: <input type="radio" name="radGeneric" value="A"<% If Request.QueryString("radGeneric") = "A" Then Response.Write " selected"%>><br>
B: <input type="radio" name="radGeneric" value="B"<% If Request.QueryString("radGeneric") = "A" Then Response.Write " selected"%>><br>
C: <input type="radio" name="radGeneric" value="C"<% If Request.QueryString("radGeneric") = "A" Then Response.Write " selected"%>><br>
<br>
One: <input type="checkbox" name="chkGeneric" value="One"<% If InStr(Request.QueryString("chkGeneric","One") Then Response.Write checked%>><br>
Two: <input type="checkbox" name="chkGeneric" value="Two"<% If InStr(Request.QueryString("chkGeneric","Two") Then Response.Write checked%>><br>
Three: <input type="checkbox" name="chkGeneric" value="Three"<% If InStr(Request.QueryString("chkGeneric","Three") Then Response.Write checked%>><br>
<br>
<select name="selGeneric">
<option value="Blue"<% If Request.QueryString("selGeneric") = "Blue" Then Response.Write " selected"%>> Blue </option>
<option value="Green"<% If Request.QueryString("selGeneric") = "Green" Then Response.Write " selected"%>> Green </option>
<option value="Red"<% If Request.QueryString("selGeneric") = "Red" Then Response.Write " selected"%>> Red </option>
</select><br>
<input type="submit">
</form>
The above code was on the fly, but it should work as an example. A prettier way to do this would be to have the values in arrays and loop through creating each set of controls from the array. It is just as much, if not more, work for the server, but looks prettier.
Now one problem you may be having with form data disappearing is that when your doing your Response.redirect you are losing all the form data from the previous page that you didn't specify in the query string for the url. If you switch to method=GET you can grab the entire querystring as I posted above without having to hardcode all the possible elements they could be passing from.
An option here would be to embed your pages in one file inside functions and do you select case statement to decide which function to call. This way you will always have your form info available. Rather than write another example, if your interested I posted a heavily commented file that is three or for pages in one as a FAQ in the ASP forum, it's under ASP 102.
-Tarwn ------------ My Little Dictionary ---------
Reverse Engineering - The expensive solution to not paying for proper documentation