Hey guys I just started learning ASP. It seems really easy and powerful. Just messing around with it right now and want to know if it is possible to make an IF then statement popup a form. Right now I have a form that just states your name then goes to this ASP script.
<%
Dim v
v = Request.Form("myentry")
If v = "Shawn" then
Response.write ("Hello" & Request.form("Myentry") & "!")
else
Response.Write ("Hello Your Name isn't Shawn it is " & Request.form("myentry") & "!")
Response.Write ("<br>How are you today?")
End If
%>
I tried making it so that if your name was = "Shawn that it would pop up another form asking for your last name but it didn't like that too much. Is that even possible it seems to me that it should be possible.
Thanks
Shawn




Reply With Quote