troubleshooting Question

Textbox appear when combo box option is selected.

Avatar of molard
molardFlag for United States of America asked on
Web Languages and Standards
3 Comments1 Solution165 ViewsLast Modified:
I have a form setup with a combo box and a text box so people can select a search type and enter search criteria. I would like to setup a second text box that will only show up when the person selects on let's say 'Land Appraised Value' from the combo box. I will then use the two text boxes in my main page to search a range of data in the database. What is the easiest way to create this type of script? I know vbscript and asp (this page is asp) but I do not know too much about javascript. Please describe anything in detail for me. Thanks.


<form action="results.asp" method="get">
<table class="searchform" border="0" width="300" id="SearchTable">
            <td align="center">1). Select Search Type:</td>
            <td align="center">
                  <select size="1" name="Field">
                  <option value="ParcelNo" selected>Parcel Number</option>
                  <option value="Street">911 Address</option>
                  <option value="Name">Subdivision</option>
                  <option value="NDesc">Neighborhood</option>
                  <option value="LandAprValue">Land Appraised Value</option>
                  <option value="ImprovAprValue">Improvement Appraised Value</option>
                  <option value="OwnerName">Owner Name</option>
                  <option value="OwnerMailAdd">Owner Mailing Address</option>
                  <option value="City">Owner City</option>
                  <option value="State">Owner State</option>
                  <option value="Zip">Owner Zip</option>
            <td align="center">2). Enter Search Criteria:</td>
            <td align="center">&nbsp;<input type="text" name="Query" size="28"></td>
            <td align="center"><input type="submit" value="Search Database"></td>
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros