MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Basic Search Question: <SELECT>



Still trying to figure out the intricacies of searching.

Given that there exists a column in my products.asc file called "Room", I
have created a basic form:

<form action="[process-search]" method=post>
<tr>
<td><h3>Room</h3></td>
</tr>

<tr>
<td>
<input type="hidden" name="mv_coordinate" value="yes">
<input type="hidden" name="mv_search_field" value="Room">
<select name="mv_search_spec" size="3" multiple>
    <option value="Bedroom">Bedroom
    <option value="Dining Room">Dining Room
    <option value="Living Room">Living Room
</select>
</td>
</tr>

<tr>
<td><input type="submit" name="mv_todo" value="Search"></td>
</tr>
</table>

Whenever I make a selection and type submit, it returns every item in my
database. Sigh. My results page is as basic as can be, and works perfectly
with the following form:

<form action="[process_search]" method=post>
<input type="text" size="25" name="mv_searchspec">
<input type="submit" name="mv_todo" value="Search">
</form>

Any ideas? Please help!



Search for: Match: Format: Sort by: