[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 "Thompson-Jordan" <Thompson-Jordan@mindspring.com> ******
First, I'd recommend inserting the header using the __MYHEADER__ method of
defining it in catalog.cfg. You might want to check if your forms are
overlapping or otherwise messing with each other. You can have multiple
forms on a page, but need to be separate.
Christopher Thompson
> ****** 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 works brilliantly on all pages except basket.html.
>
> Basket.html is cosmetically altered from the simple catalog. It
> functions fine without the header. When the header is inserted with an
> [include] tag I get the following behavior.
>
> 1. Recalculate, Continue Shopping, Search,
> and Stop Shopping will return on a secure page. The url
> changes from the normal
> http://com1.ehg.net/cgi-bin/hgdev/process?wfUS5yz2;;117
> to https://com1.ehg.net/cgi-bin/hgdev/process?wfUS5yz2;;1177.
> The values are update however.
>
> 2. Clicking on the remove checkbox results in a Minivend error
> "Something has gone wrong... No action passed from form"
>
> 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>
>
> [set [L]Stop shopping[/L]]
> mv_todo=return
> mv_nextpage=canceled
> [/set]
>
> [set [L]Check out[/L]]
> mv_todo=return
> mv_nextpage=ord/checkout
> [/set]
>
> [set [L]Continue Shopping[/L]]
> mv_todo=return
> mv_nextpage=catalog
> [/set]
>
> [set [L]Search[/L]]
> mv_todo=return
> mv_nextpage=srchform
> [/set]
>
> 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
> -
> 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
>
-
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