Hello,
I am trying to modify the advanced search script to default to one channel and hide it in the form, and show the categories for that field. I cant figure out how to do it since the categories use the ‘onchange’ event.
The code is below, any ideas?
Also, canI change the category listing from a multiselect to radio?
Thanks!
<div class="defaultBold">{lang:channels}</div>
<select id="channel_id" name='channel_id[]' class='multiselect' size='12' multiple='multiple' >
{channel_names}
</select>
</td>
<td valign="top" width="16"> </td>
<td valign="top">
<div class="defaultBold">{lang:categories}</div>
<select name='cat_id[]' size='12' class='multiselect' multiple='multiple'>
<option value='all' selected="selected">{lang:any_category}</option>
</select>