MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Newbie Search Page Question



>******    message to minivend-users from "Miller McClure"
><jamaicanred@earthlink.net>     ******
>
>All right. This should be simple.
>
>I've got my database all set up, fifty products to start up with. I've
>messed around with the [tag] tag and [loop-field] tags. So far, so good. I
>have the simplest search page, I'm using it just to learn the tags and
>such --
>
><html>
><head>
><title>Pine Collection</title>
></head>
><body>
><form action="[process-search]" method=post>
><input type="text" size="25" name="mv-searchspec">
><input type="submit" name="mv-todo" value="Search">
></form>
></body>
></html>
>
>And I have the simplest results page --
>
><html>
><head>
><title>Search Results</title>
></head>
><body>
>
>[search-region]
>[search-list]
>    [item-code] -- [item-field Description] -- [item-field Room]<BR>
>[/search-list]
>[/search-region]
>
></body>
></html>
>
>However, whenever I submit a search, using an argument that I know exists in
>the database, the results page returns all fifty products in the database,
>no matter what!
>
>I know I'm probably missing something, and I've printed out the docs, but I
>can't figure out what's up. Any help would be appreciated.
>
>Greg McClure
>

mv-searchspec is a typo: the correct form is mv_searhspec.  The same holds
for mv_todo (not mv-todo).  Also, you may wish to specify mv_search_field
if you know that the data you wish to locate exist in a specific field.

- Ed L.

-
PRINTEX Marking Technologies
12113 Kirkham Rd.
Poway, CA  92064  U.S.A.
(858) 513-2418
(800) 982-1928
(858) 513-2419 fax
edlafrance@printexusa.com
http://www.printexusa.com




Search for: Match: Format: Sort by: