Akopia Akopia Services

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

Re: [mv] Unable to set scratch variables



******    message to minivend-users from jojo@buchonline.net     ******

On 10 Jan, Jarno Niemela wrote:
> ******    message to minivend-users from Jarno Niemela <jargon@iki.fi>     ******
> 
> Hello.
> 
> I have trouble when I'm trying to set scratch variables
> that I should test with [if ...] statement.
> 
> I'd want to create a checkout page in which the user could select
> a payment type (between various types of online banks used around here,
> no-one trusts a credit cards..).
> 
> Here's what I'v been trying
> 
> ----
> 
> <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/checkout">
> <input type="hidden" name="mv_checkout" value="ord/checkout">
> <input type="hidden" name="mv_nextpage" value="ord/checkout">
> 
> <TABLE WIDTH=600>
> <TR><TD>
>     <SELECT MV.OPTION="my_payment_type" NAME="my_payment_type"
> onChange="this.form.submit()" MV.ARG="posti leonia">
>         
>         <OPTION value="posti"> Postiennakko 
>         <OPTION value="leonia"> Leonia verkkomaksu
>         </SELECT>
>         </TD>
> <TD ALIGN=RIGHT><INPUT TYPE=submit VALUE="[L]Paivita[/L]"></TD>
> </TR>
> </TABLE>
> </FORM>
> 
> [if scratch my_payment_type eq posti]

I am not sure. Have you tried with

[if value my_payment_type eq posti]

??

[DEL]

Regards,

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen         FAX: 0209 1671449

-
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: