Hello!
As the title says, I'm trying to toggle a <tr> element of form based on the selected value of a drop down box.
Here is my current code for the dop down:
<tr>
<td><img src="require.gif" align="center" width="7" height="5"> Employee Type</td><td colspan="3"><select name="type">
<option value="Please Select an employee type:">Please Select an employee type:</option>
<option value="Department Transfer">Department Transfer</option>
<option value="Previous Student">Previous Student</option>
<option value="Physician / P.A.">Physician / P.A.</option>
<option value="Volunteer">Volunteer</option>
<option value="Update Employee">Update Current Employee</option>
<option value="New Employee">New Employee</option>
</td>
</tr>
Under that, I'd like to show/hide this row:
<tr>
<td>NPI Number</td><<input name="npi" size="10" type="text">
</tr>
I'd like to have it so if the user selects "Physician / P.A." in the drop down, that the hidden field show up.
Any help would be great! thank you!