I have a form with a text box field. How can I make it after submit do this:
If that text box equals "apple" goto www.abc.com and if text box equals "tree" then goto www.123.com, etc...
Thanks.
rdouglass -> RE: if goto www (4/25/2008 11:31:48)
How about this:
<%SELECT CASE lcase(trim(request.form("myTextBox")&"")) CASE "apple" Response.redirect("http://www.abc.com") CASE "tree" Response.redirect("http://www.123.com") CASE ELSE Response.redirect("http://www.mydefaultdomain.com") END SELECT%>