MiniVend Akopia Services

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

Re: Problem with Minivend 3.12 forms.



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

At 01:02 PM 4/29/99 , Jayme Frye wrote:
>******    message to minivend-users from Jayme Frye <jfrye@ehg.net>
******
>
>Hello All,
>
>	I've coded myself into a corner and I can't find a way out. My problem

	:-)

>revolves around forms. I have a header which appears on every page. It
>has a few navigational links and a drop down menu form that performs a
>search by category. 
>The form code is:
>
><FORM ACTION="[process-search]" METHOD="post">
><B>Browse A Category:</B> <select name="mv_searchspec" size="1">
><option value="workpapers" selected>Workpapers
><option value="paper_storage" selected>Paper Storage
><option value="tax" selected>Tax Supplies
><option value="presentation" selected>Presentation Materials
></select> <input type="hidden" name="mv_matchlimit" value="5"> 
><input type="submit" NAME="mv_todo" value="GO">
></FORM>

	This is what would be referenced as form[0] in javascript (as in the first
form on the page), below you need to change the javascripts from form[0] to
form[1].

>
>This works brilliantly on all pages except basket.html.

<--snip-->

>The relevant code for the basket.html form is:
>
><FORM ACTION="[process-target secure=1]" METHOD=POST>
><INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
><input type="hidden" name="mv_doit" value="refresh">
><input type="hidden" name="mv_orderpage" value="ord/basket">
><input type="hidden" name="mv_checkout" value="ord/checkout">
><input type="hidden" name="mv_nextpage" value="catalog">
><INPUT TYPE=checkbox NAME="[quantity-name]"
>	onClick="document.forms[0].action='[process-target]',
>		document.forms[0].submit()"
>			   VALUE=0>
><input type="submit"
>	onClick="document.forms[0].action='[process-target]'"
>	name="mv_submit" value="[L]Recalculate[/L]">
><input type="submit" name="mv_click" value="[L]Check out[/L]">
><input type="submit"
>	onClick="document.forms[0].action='[process-target]'"
>	name="mv_click" value="[L]Search[/L]">
><input type="submit"
>	onClick="document.forms[0].action='[process-target]'"
>	name="mv_click" value="[L]Continue Shopping[/L]">
><input type="submit"
>	onClick="document.forms[0].action='[process-target]'"
>	name="mv_click" value="[L]Stop shopping[/L]">
></FORM>

<--snip-->

>	I'm at a loss. Anyone willing to give me a kick in the right direction?
>
>Jayme Frye
>Systems Administrator/Webmaster
>Epsen Hillmer Graphics Co.
>Omaha, NE

Have a great day,

-Ryan



Ryan Hertz                                              tel  520-645-3812
Webmaster                                               tel  800-645-BAIT
Advertising Director                                    fax  520-645-2588
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com
-
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


Search for: Match: Format: Sort by: