[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] exact match
****** message to minivend-users from briank@nacs.net ******
Thanks for the help, I got it working, but I had do this:
--mv profile---
[set default_profile]
mv_search_field=category
mv_matchlimit=[var DISPLAYNUM]
mv_begin_string=1
[/set]
And the two categoris that I had problems with were "Supplies" (I have 3
other categories that END in the word Supplies)
<TR><TD [var LEFTTBFG]><FORM ACTION="[process_search secure=1]"
METHOD=POST>
<INPUT TYPE="hidden" NAME="mv_profile" VALUE="default_profile">
<INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="Supplies">
<INPUT TYPE="hidden" NAME="mv_exact_match" VALUE="yes">
<INPUT TYPE="image" SRC="[var SBIMAGESUPP]" BORDER="0"
ALT="Supplies"><BR></TD></TR></FORM>
This reutns <JUST> the category "Supplies"
and "Insulin" (I have 2 other categories that BEGIN with the word
"Insulin")
<TR><TD [var LEFTTBFG]><FORM ACTION="[process_search secure=1]"
METHOD=POST>
<INPUT TYPE="hidden" NAME="mv_profile" VALUE="default_profile">
<INPUT TYPE="hidden" NAME="mv_coordinate: VALUE="true">
<INPUT TYPE="hidden" NAME="mv_begin_field" VALUE="1">
<INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="06-">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="code"
<INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="Insulin">
<INPUT TYPE="hidden" NAME="mv_exact_match" VALUE="yes">
<INPUT TYPE="image" SRC="[var SBIMAGEINS]" BORDER="0"
ALT="Insulin"><BR></TD></TR></FORM>
This works to match ONLY the Category "Insulin" with this category, the
code number all look like "06-xx" I had originally tried to use
just "06"
in the search but it returned some funky stuff inluding items where the
code adds up to "6" so if the code was "03-03" it matched. I switched it
to "06-" and lo and behold, it worked.
On Tue, 18 Apr 2000 briank@nacs.net wrote:
> ****** message to minivend-users from briank@nacs.net ******
>
>
> Hello everyone, this is the first time that I have had to post a message,
> up until now, I have been able to get all of the answers to my questions
> by going through the archives.
>
> My question/problem, is that I have a site that has different categories,
> one of the categories is named Insulin, and there are three other
> categories that have the worsd Insulin in them. The searches for the
> larger categories work fine, but if you do a search for Insulin, it
> returns every caegory with the word Insulin in it. I have tried to use
> mv_exact match, but I can't seem to get it to work.
>
> here's the snippet od code that I am using to do this:
>
> Here's a profile that I tried to set up. I couldn't get it to work.
>
> [set default_profile]
> mv_search_field=category
> mv_match_limit=6
> mv_exact_match
> [/set]
>
> and....Here's the code that I need to get to work...
>
> <TR><TD [var LEFTTBFG]><FORM ACTION="[process_search secure=1]"
> METHOD=POST>
> <INPUT TYPE="hidden" NAME=|mv_exact_match" VALUE="YES" <!------I saw the
> term YES being used by someone in the archives------->
> <INPUT TYPE="hidden" NAME="mv_matchlimit" VALUE="[var DISPLAYNUM]">
> <INPUT TYPE="hidden" NAME="mv_search_field" VALUE="category">
> <INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="Insulin">
> <INPUT TYPE="image" SRC="[var SBIMAGEINS]" BORDER="0"
> ALT="Insulin"><BR></TD></TR></FORM>
>
>
> Any help would be greatly appreciated
> Thanks
>
>
>
> ---------------------------------
> Brian Kosick
> New Age Consulting Service
> www.nacs.net
> nacs-support@nacs.net
> 216-619-2000
>
> -
> 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
>
---------------------------------
Brian Kosick
New Age Consulting Service
www.nacs.net
nacs-support@nacs.net
216-619-2000
-
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