Forums

This topic is locked

Redirect

Posted 01 May 2003 22:07:10
1
has voted
01 May 2003 22:07:10 jacque jd posted:
I have 3 checkboxes on the page,
i would like to redirect the user to the the page according to the check box, when they submited.
i did try to use this "<%
If Request("checkboxname" = True Then
Response.Redirect("Page1.asp"
Else
Response.Redirect("Page2.asp"
End If
%>

But it only takes me to page 2.

Thank you

Replies

Replied 02 May 2003 00:18:16
02 May 2003 00:18:16 Brent Colflesh replied:
Of course - unless the input name of your checkbox = "True", then your statement is always false.

Regards,
Brent

Replied 02 May 2003 00:31:05
02 May 2003 00:31:05 jacque jd replied:
Is there an easy way to do this
Thanks

Reply to this topic