[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Problem with mv_look_range
****** message to minivend-users from Marius Schaefer <maillist@b-p-a.com> ******
Hello,
I'm trying to search for a searchspec that may or may not be entered
and to limit the search output by multiple mv_look_range fields.
As long as I only put in the mv_searchspec form field and range
search for product code or article group, everything works fine.
But as soon as I try to add a range search for two more fields,
yearadded and monthadded, Minivend refuses to produce any results,
it complains "Must have min and max values for range.". I tried
removing the range search for product code or article group and
instead putting in yearadded and monthadded range search, which
gave me the same error message. I also tried removing the
mv_searchspec form field and setting return_all. Same problem
here. Following is the source code for the search form:
(I stripped most of the formatting tags)
<form action="[process-search]" method=post>
<table>
<tr>
<td colspan=2>
Suche im Online-Katalog
</td>
</tr>
<tr>
<td>
Article code:
</td>
<td>
<input type=hidden name="mv_search_page" value="cat2">
<input type=hidden name="mv_search_field"
value="description">
<input type="hidden" name="mv_range_look" value="0">
from <input maxlength=5 name="mv_range_min"
value="00000" size=5> to
<input maxlength=5 name="mv_range_max" value="99999"
size=5>
</td>
</tr>
<tr>
<td>
Month added:
</td>
<td>
<input type="hidden" name="mv_range_look"
value="addedmonth">
from <input size=5 name="mv_range_min" value="1">
to <input size=5 range="mv_range_max" value="12">
</td>
</tr>
<tr>
<td>
Article description:
</td>
<td>
<input size=30 name="mv_searchspec">
</td>
</tr>
<tr>
<td>
Article category:
</td>
<td>
<input type="hidden" name="mv_range_look"
value="category">
from <input size=5 name="mv_range_min" value="000"> to
<input maxlength=5 name="mv_range_max" value="999"
size=5>
</td>
</tr>
<tr>
<td>
Year added:
</td>
<td>
<input type="hidden" name="mv_range_look"
value="addedyear">
from <input size=5 name="mv_range_min" value="1990">
to <input size=5 range="mv_range_max" value="1999">
</td>
</tr>
<tr>
<td>
<input type=submit value="Search">
</tr>
</table>
</form>
Thank you!
--
Mit freundlichen Grüßen
Marius Schäfer
schaefer@bpaserver.net
black point arts
soft- & webservice
http://www.bpaserver.net
eschersheimer landstr. 471
60431 frankfurt
tel. 069-952-181-50
fax. 069-952-181-41
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list