[ic] Search Form

Russ Mann tech@khouse.org
Thu, 11 Jan 2001 14:30:45 -0700


Using the search form:

<form action="[process-target]" method="POST">
<input type="hidden" name="mv_doit" value="search">
<input type="hidden" name="mv_matchlimit" value="7">
<input type="hidden" name="mv_search_page" value="results">
<input type="hidden" name="mv_sort_field" value="sortby">
<input type="hidden" name="mv_sort_option" value="n">
<input type="radio" name="mv_search_field" value="title" checked>Title<br>
<input type="radio" name="mv_search_field" value="author">Author<br>
<input type="radio" name="mv_search_field" value="detail">Description<br>
<input type="radio" name="mv_search_field" value="code">Product Code<br>
<input type="text" name="mv_searchspec" size="8"><input type="submit"
value="Go!" name="search">
</form>

In IC 4.6.1, the form tag comes out as:
<form action="http://store.khouse.org/store/kh/process.html?mv_pc=1593"
TARGET="main" method="POST">

The problem with this is "target=main" opens the search results in a new
window.

Is there a new way of making form searches?

Russ Mann