[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: re: Question on forms...
Actually I had before just search1 and have done the Header Srch
both with and without quotes. But I did it agian and it worked
obviously I missed something, thanks for that information.. I bet I
had done search1 in one area, and Search1 in the other.
I still have the problem with the basket and I also have next to the
search form a drop down menu, and I think the two problems are
related.
I have for example this in the header in a seperate <form>
designator.
<input type="hidden" name="mv_click" value="Search2">
<INPUT TYPE="hidden" NAME="mv_doit" VALUE="search">
<select name="mv_searchspec" size="1"
onChange="document.forms[0].action='[process-
target]',document.forms[0].submit()">
<option value="choose">Choose</option>
<option value="animal">Animals</option>
<option value="decorative">Decorative</option>
.... etc..
When this one exectues if I have not entered text in the search box and
done a search I get a bad search
"Search strings must be at least 1 characters. You had '' as one of your
search strings. "
If I do a search with the other form first, hit the back button and then
choose an item from the list it will just execute a search based on that
previous search text box. As if mv_searchspec is not being reset. Again
I am sorry for being so dense here, at sometimes it seemed right in my
grasp and others it doesn't. This same thing happens in the basket, if I
am in the basket and do a search by the text box, then hit the back
button then click on add this accessory it executes the same search
again. Even tho these are in differnt <form> blocks.
> ****** message to minivend-users from Larry Leszczynski <larryl@furph.com> ******
>
> Hi Milo -
>
> > <input type="text" name="mv_searchspec" size="15">
> > <INPUT TYPE="hidden" NAME=mv_doit VALUE=search>
> > <input type="hidden" name=mv_click value=Header Srch>
> >
> > [set Header Srch]
> > mv_matchlimit=10
> > mv_return_fields=0,1,price,sale,retail,image,category
> > mv_substring_match=yes
> > mv_search_field=title
> > mv_search_field=description
> > mv_search_field=keywords
> > mv_nextpage=results
> > [/set]
> >
> > When I do this it ignores the [set Header Srch] directive and all the
> > settings I have.
>
> Instead of this:
> <input type="hidden" name=mv_click value=Header Srch>
> try this:
> <input type="hidden" name=mv_click value="Header Srch">
>
> Otherwise the browser just sees "value=Header".
>
>
> Larry Leszczynski
> larryl@furph.com
> --
> furph, Inc. WWW/Unix/Windows Solutions 734-513-7763 (voice)
> info@furph.com http://www.furph.com 734-513-7759 (FAX)
>
> -
> 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
>