i have a combo-box which displays a list of skills. however, if i wish to add another skill, i have an option in the combo-box "Add a Skill". how do i redirect the user to the "add" page if they choose this option? Here's my (very incorrect!)code:
<SELECT NAME="Skills">
<%
Do While Not RS.EOF
Response.Write "<OPTION VALUE='" & RS("Skill" & "'>"
Response.Write RS("Skill"
RS.MoveNext
Loop
If (Request("Skills" = "Add a Skill" Then
%>
<FORM METHOD=POST ACTION="add2.asp">
<INPUT TYPE="submit" name="btnAdd" value="Add"
</FORM>
RS.Close
objConn.Close
Set RS = Nothing
Set objConn = Nothing
<%
Else
%></SELECT><%
.....further code.....
thank you!
<SELECT NAME="Skills">
<%
Do While Not RS.EOF
Response.Write "<OPTION VALUE='" & RS("Skill" & "'>"
Response.Write RS("Skill"
RS.MoveNext
Loop
If (Request("Skills" = "Add a Skill" Then
%>
<FORM METHOD=POST ACTION="add2.asp">
<INPUT TYPE="submit" name="btnAdd" value="Add"
</FORM>
RS.Close
objConn.Close
Set RS = Nothing
Set objConn = Nothing
<%
Else
%></SELECT><%
.....further code.....
thank you!