[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Searching words beginning with "A"
Hello all, i have sort of a corollary to an old thread. I'm trying to
achieve this:
[page scan
se=a.*
sf=description
bs=yes
se=DVHS
sf=subcategory
bs=no
co=yes
sp=bresults ]tapes that start with "A"[/page]
which should give me all items from my products db with subcategory DVHS
beggining with the letter a.
but in a form. How can i escape the ".*"? or am i going about this all the
wrong way?
My form looks like this:
<form method=POST action="[process-target]" name="browse">
<input type="hidden" name="mv_coordinate" value="yes">
<input type="hidden" name="mv_begin_string" value="no">
<input type="hidden" name="mv_begin_string" value="yes">
<input type="hidden" name="mv_search_field" value="subcategory">
<input type="hidden" name="mv_search_field" value="description">
<input type="hidden" name="mv_sort_field" value="subcategory">
<input type="hidden" name="mv_sort_field" value="description">
<input type="hidden" name="mv_field_names"
value="code,site,category,subcategory,description">
<input type="hidden" name="mv_search_map" value="
mv_searchspec=search1
mv_searchspec=search2
">
Select a format:
<select name="search1" MV.OPTION="search1">
<option value="">All Formats
<option value="DVHS"> Domestic VHS Tapes
</select>
<p>Title begins with:
<select name="search2" MV.OPTION="search2">
<option value="A.*">A
<option value="B.*">B
<option value="C.*">C
... etc ...
</select>
<input type="hidden" name="mv_search_page" value="bresults">
<INPUT TYPE="submit" VALUE="[L]Search[/L]">
<INPUT TYPE="hidden" NAME="mv_doit" VALUE="search">
</form>
thanks in advance,
mike k.