Hide/unhide a field based on another's field value
Hi there
I use
<tr>
<td><strong>Disease</strong></td>
<td><select name="disease" id="disease" title="<?php echo($Recordset1->getColumnVal("disease")); ?>">
<option>Choose</option>
<option value="LCH">LCH</option>
<option value="Isolated pulmonary LCH">Isolated pulmonary LCH</option>
<option value="ECD">ECD</option>
<option value="Rosai Dorfman">Rosai Dorfman</option>
<option value="Other">Other</option>
</select></td>
</tr>
<tr>
<td><strong><label>Other</label></strong></td>
<td><input name="other" type="text" id="other" value="<?php echo($Recordset1->getColumnVal("other_disease")); ?>" size="50" maxlength="35" ></td>
</tr>
What I need is to keep the field (and the label too) "Other" hidden and unhide them only if on change, the disease's value is "Other"
Could you please help?
thank's