Hi Erik,

This would be another good use for the <@URL> Metatag.

In your Witango code, just after you do your database Actions - add
something like:

<@URL LOCATION="http://cgi.domain.com/cgi/subscribe/add_email.cgi";
        POSTARGS="Email_address=<@var local$Email
encoding=url>&otherarg=<@var local$otherValue encoding=url>">

SP1 is required to make use of the POSTARGS="" attribute and some other
helpful features of <@URL> - read the T2K_SP1_WhatsNew.PDF file for more
info.

Seeing how you maybe doing some special treatment to the data before your
second posting, doing the above avoids you having to make another trip to
the user's browser to submit the second address.

Hope this helps. Cheers...

Scott Cadillac
http://xml-extra.net
[EMAIL PROTECTED]

----- Original Message -----
From: "Erik Kulvinskas" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Thursday, May 09, 2002 9:34 AM
Subject: Witango-Talk: Form submittal to two places


> OK folks I have  a question for your. We have an information form
submittal
> that needs to go to two places. This form is a generic informational form
> for users to sign up for an email list subscription that this company has
in
> force.
>
> Here is what needs to happen:
>
> 1) First we need to submit the form to OUR database for storage and other
> things.
>
> 2) secondly, we need to sent the contents of the form to a proprietary cgi
> that, normally, we would use a form tag like:
>
> <form method = "post"
> action="http://cgi.domain.com/cgi/subscribe/add_email.cgi";>
>
> But because we have to submit the form to our .taf first, we cannot submit
> this form to the above cgi using a normal form method submittal.
>
> The proprietary cgi is expecting a post argument with the email_address
and
> optin fields. Can someone shed some light on a way to do this in WiTango?
>
> 'Email_address' field is the user's email address
> 'Optin' field is the ID of the email list the user wants to be in.
>
>
> Thanks for any help you can give me,
>
> -Erik
>
> +_____
> |__  ___  ___ _____ _____ ____ _   _  |      ___  __   ___+
> |   |___||      |   |   | |__|  \ /   |     |___||__| |___
> |   |   ||___   |   |___| |  \   |    |____ |   ||___| ___|
> +
> "A multi-disciplinary creative collective
>     based in Denver, Colorado"
>
> Erik Kulvinskas
> www.factorylabs.com
> ph: 303.573.9100
> fx: 303.573.5975
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to