Forum Moderators: open
For example;
<tr>
<td>Pick a category:</td>
<td><select name="category">
<option value="cat1">Category one</option>
<option value="cat2">Category two</option>
<option value="create">Create a new category</option>
</select></td>
</tr>
//everything below this should only show if the "create a new category" option is selected
<tr>
<td>Create a new category</td>
<td><input type="text" name="create" /></td>
</tr>
Any ideas on how to do that?