Hello! I am working on a web app here that takes user input from one dropdown list ("listCollege" in the included code) and, based on that, populates another list ("listDept"). That part works fine. The problem comes when the user selects "Other" from "listDept" - then the text box ("textDept") is not appearing as it should.
I've attached the code. I figure I must be missing something simple, but can't for the life of me figure it out. Can someone else clue me in?
Thanks!
Kaiti
<%@ Page Language="VB" Debug="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Sub DeptList()
If listDept.SelectedValue = "Other" Then
textDept.Visible = True
...
Go to the complete details ...