hi,
very simple to do. All you do is request the form objects in the usually way:
Code:
textbox1 = request.form("textbox1")
checkbox1 = request.form("checkbox1")
radio1 = request.form("radio1")
Then in the original form you have the following code. Remember that the form has been posted back to itsself.
For the textbox do this:
Code:
<input name="textbox1" type="text" value="<%=textbox1%>">
For the checkbox do this:
Code:
<input name="checkbox1" type="checkbox" value="Value1" <%if checkbox1 = "Value1" then response.write "Checked" end if%>>
and the radio:
Code:
<input name="radio1" type="radio" value="yes"<%if radio1 = "yes" then response.write "Checked"%>>
Bookmarks