Akopia Akopia Services

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

Re: [mv] [tag op=header] ???



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

On 12 Apr, To: Mats Andersson wrote:
> On 12 Apr, Mats Andersson wrote:
>>> > I understand I could use this tag to somehow automate the submitting 
>>> > of orders. But I can't find ANY info on this tag.
>>> > 
>>> > How does it work???
>>> 
>>> With
>>> 
>>> [tag op=header interpolate=1]
>>> Status: 302 moved
>>> Location: [area href="ord/checkout.html"]
>>> [/tag]
>>> 
>>> Minivend will redirect the Browser to this page. But it will not submit
>>> automatic. Maybe you can solve your question with javascript. You can
>>> write an extra page with the form tag, redirect it to this page and use
>>> the javascript Onload to submit automatic.
>> 
>> Have you ever written such a script? Do you have a copy of it??
> 
> Yes! But not to submit automatic! This is a javascript question and off
> topic. But i give you a short hint:
> 
> <BODY Onload="document.forms[0].action='[process-target]',document.forms[0].submit()">
> 
> I´ve not tested such kind of javascript _with_ automatic submitting of
> any forms.

Oopps! This is a better example:


<BODY Onload="document.Testform.submit()">

<FORM NAME="Testform" ACTION="[process-target secure=1]" METHOD=POST>

Not tested yet!

Regards,

	Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
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: