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.
I have changed the form a little bit. I have a normal text box that appears but if a user selects land appraised value or improvement appraised value the first text box dissapears and two new ones come up. The two new ones have the minimum and maximum for prices to search the database by. The problem is that when I submit this form all three query strings show up in the address. I want it to hide these text boxes and the query string associated with it. Can you help me with this or do you know a better way to do it? I will raise the points later. Thanks again.
<form action="results.asp" method="get">
<table class="searchform" border="0" width="300" id="SearchTable">
<tr>
<td align="center">1). Select Search Type:</td>
</tr>
<tr>
<td align="center">
<select size="1" name="Field"
onchang="if(this.selectedI
<option value="ParcelNo" selected>Parcel Number</option>
<option value="Street">911 Address</option>
<option value="Name">Subdivision</
<option value="NDesc">Neighborhood
<option value="LandAprValue">Land Appraised Value</option>
<option value="ImprovAprValue">Imp
<option value="OwnerName">Owner Name</option>
<option value="OwnerMailAdd">Owner
<option value="City">Owner City</option>
<option value="State">Owner State</option>
<option value="Zip">Owner Zip</option>
</select>
</td>
</tr>
<tr>
<td align="center">2). Enter Search Criteria:</td>
</tr>
<tr>
<td align="center"> <inpu
<div id="newfield" style="display:none">
<input type="text" name="Query2" size="28"></div>
</tr>
<tr>
<td align="center"><input type="submit" value="Search Database"></td>
</tr>
</table>
</form>
Cd&