Hi
Just starting with ASP and wanted my users to select a radio button then travel to a specific page ... but my code doesn't work..
Any ideas????
TIA
<%
dim amend
cars=Request.Form("amend"
%>
<form action="" name="form3">
<p>Which would you like to do:</p>
<input type="radio" name="amend"
<%if amend = "update.asp" then Response.Redirect("checked"%>
value="update.asp">
update<br>
<input type="radio" name="amend"
<%if amend = "insertdetails.asp" then Response.Redirect("checked"%>
value="insertdetails.asp">
Add <br>
<input type="submit" value="Go">
</form>
<%
if amend<>"" then
Response.Redirect( "&amend&" )
end if
%>
Just starting with ASP and wanted my users to select a radio button then travel to a specific page ... but my code doesn't work..
Any ideas????
TIA
<%
dim amend
cars=Request.Form("amend"
%>
<form action="" name="form3">
<p>Which would you like to do:</p>
<input type="radio" name="amend"
<%if amend = "update.asp" then Response.Redirect("checked"%>
value="update.asp">
update<br>
<input type="radio" name="amend"
<%if amend = "insertdetails.asp" then Response.Redirect("checked"%>
value="insertdetails.asp">
Add <br>
<input type="submit" value="Go">
</form>
<%
if amend<>"" then
Response.Redirect( "&amend&" )
end if
%>