[ic] Advanced Search

zensuriert interchange-users@interchange.redhat.com
Fri Mar 8 16:27:01 2002


I need to do an advanced search page.

I want to combine more search options with  'AND' or 'OR' but I don't
know how to do this. 

This is what I have so far:


__TOP__
__LEFT__

<h3>Advanced Search<h3>
<br>
<form action="[area search]" method=post>
[set asearch]su=yes/fi=products[/set]
<input type=hidden name=mv_profile value=asearch>
<table>
<tr>
<td>
<b>Search by Field:</b><br>
Search for  
<input type="text" name=mv_searchspec>
in the 
<select name=mv_search_field>
<option value="sku">SKU
<option value="name">name
<option value="description">description
<option value="price">price
</select>
field. 
</td>
</tr>
</table>
</form>

__BOTTOM__


This way I can at least search in given category.
But how could I now combine two of this?

I got some categories which contain Boolean-variables how could I
realise a search function that lets the user also search for the Boolean
to be true, false or if he doesn't want to take this into account? 
 
Any help is greatly appreciated.

TIA 
Philipp Hammer-Pohlau