Chapter 19. Advanced search form
<form role="search" id="searchForm" method="get" class="searchform" action="http://your_catalog/eg/opac/results" accept-charset="UTF-8">
<label id="searchLabel" for="search"><b>Search the Catalog: </b></label>
<input type="search" value="" name="query" id="search" size="30">
<label id="search_qtype_label"><b>Type:</b>
<select name="qtype" id="qtype" aria-label="Select query type:">
<option value='keyword' selected="selected">Keyword</option>
<option value='title'>Title</option>
<option value='jtitle'>Journal Title</option>
<option value='author'>Author</option>
<option value='subject'>Subject</option>
<option value='series'>Series</option>
</select>
</label>
<label id="search_itype_label"><b>Format: </b>
<select id='item_type_selector' name='fi:item_type' aria-label="Select item type:">
<option value=''>All Formats</option>
<option value='a'>Books and Journals</option>
<option value='i'>Nonmusical Sound Recording</option>
<option value='j'>Musical Sound Recording</option>
<option value='g'>Video</option>
</select>
</label>
<label id="search_locg_label"><b>Library: </b>
<select aria-label='Select search library' name='locg'>
<option value='1' class="org_unit">
All Libraries
</option>
<option value='2' selected="selected" class="org_unit">
Central Library
</option>
<option value='10' class="org_unit">
Little Library
</option>
</select>
</label>
<input class="searchbutton" type="submit" value="SEarch" />
</form>