geet40
06-15-2007, 04:20 PM
Hi
New to asp.
Sounds simple but couldnt figure out
I have a asp where a person is given options to choose between manager and advisor and once choosen it returns to the file at exact same point and variables are set based on the value returned.
When I tried to use form submit post to another file, it returns to the start of the file instead of exact place where i want to.
If (M_Access = TRUE) And (A_Access = TRUE) Then
%>
<!-- #include file = "login_option.asp" -->
<%loginoption = request.form("Login")%>
<%
End IF
<!-- MAIN BODY -->
<p><b>Choose your Login Option</b></p>
<form action="auth_inc_login.asp" method="post" name="login">
<input TYPE="radio" NAME="Login" VALUE="MG" CHECKED>Manager
<input TYPE="radio" NAME="Login" VALUE="AD">Advisor
</br>
</br><input type="submit" value="Submit">
</form>
<!-- MAIN BODY END -->
Thanks
New to asp.
Sounds simple but couldnt figure out
I have a asp where a person is given options to choose between manager and advisor and once choosen it returns to the file at exact same point and variables are set based on the value returned.
When I tried to use form submit post to another file, it returns to the start of the file instead of exact place where i want to.
If (M_Access = TRUE) And (A_Access = TRUE) Then
%>
<!-- #include file = "login_option.asp" -->
<%loginoption = request.form("Login")%>
<%
End IF
<!-- MAIN BODY -->
<p><b>Choose your Login Option</b></p>
<form action="auth_inc_login.asp" method="post" name="login">
<input TYPE="radio" NAME="Login" VALUE="MG" CHECKED>Manager
<input TYPE="radio" NAME="Login" VALUE="AD">Advisor
</br>
</br><input type="submit" value="Submit">
</form>
<!-- MAIN BODY END -->
Thanks