hi guys am trying to use a form where it looks for level and course of a student so that if d student picks year 1 and chooss a course it would go to the year 1 page of that paticular course.
my form as a checkbox of year 1...year 3 and also av a couple of course to pick.the code look like this
<% =Request.Form("course") Request.form("lvl") %>
<% if Request.form("course")="B.sc(Hons)Intern... Systems Development" and Request.form("lvl")="year 1" then
Response.redirect "ISD.asp"
elseif
Request.form("course")="B.sc(Hons)Intern... Systems Development" and Request.form("lvl")="year 2" then
Response.redirect "ISDnn.asp"
elseif Request.form("course")="B.SC(Hons)Comput... and Request.form("lvl")="year 1"then
Response.redirect "COM.asp"
elseif
Request.form("course")="B.SC(Hons)Comput... and Request.form("lvl")="year 2"then
Response.redirect "COMone.asp"
and so on and so on
but its not moving to the page i need.can any body help me pls to solve this.ta
my form as a checkbox of year 1...year 3 and also av a couple of course to pick.the code look like this
<% =Request.Form("course") Request.form("lvl") %>
<% if Request.form("course")="B.sc(Hons)Intern... Systems Development" and Request.form("lvl")="year 1" then
Response.redirect "ISD.asp"
elseif
Request.form("course")="B.sc(Hons)Intern... Systems Development" and Request.form("lvl")="year 2" then
Response.redirect "ISDnn.asp"
elseif Request.form("course")="B.SC(Hons)Comput... and Request.form("lvl")="year 1"then
Response.redirect "COM.asp"
elseif
Request.form("course")="B.SC(Hons)Comput... and Request.form("lvl")="year 2"then
Response.redirect "COMone.asp"
and so on and so on
but its not moving to the page i need.can any body help me pls to solve this.ta