[ic] how to range search

Paul Jordan interchange-users@icdevgroup.org
Thu Aug 29 17:20:02 2002


> I can't figure out how to do a price range search ie. any price between
> $300.00 - $1000.00
> I got a few bits and pieces from the mailing list but can't put
> it together.
>
> This is from my advancedsearch.html file.  Not much has changed
> besides the
> extra lines
> that I've entered for the Price Range.
>
> <form action="[area search]" method="post">
> <input type=hidden name=mv_profile value=asearch>
> <input type=hidden name=ml value=20>
> Keyword(s) <input class="textbox2" type=text name=mv_searchspec size=38
> maxlength=30>
>
> Price Range
> <input type=text class="textbox2" name=mv_range_min value="" size="15">
> to
> <input type=text class="textbox2" name=mv_range_max value="" size="15">
>
> </form>
>
> do I need to use this instead?  ...which I tried but no cigar as it only
> returns 137 items with wrong th price range.
> <input type=hidden name=op value=">=">
> <input type=hidden name=nu value="1">
> <input type=text class="textbox2" name=mv_searchspec value="" size="15">
>
> <input type=hidden name=op value="<=">
> <input type=hidden name=nu value="1">
> <input type=text class="textbox2" name=mv_searchspec value="" size="15">
>
>
> Thanks
> Dennis

You need to use "rl" for the first one -> "mv_range_look" and point it to
the correct field (ie: price). The second one I think is better but you will
need to look up coordinated and joined searches in the docs for the correct
usage ;)

Paul