OH my... You can submit to two different action pages.  The index.cfm page is 
what is displayed because it was the last function run.


<script language<script language="javascript">
function loginHandler1()
{
document.form1.action = "PayPalTest.cfm";
document.form1.submit();
}

function loginHandler2()
{
document.form1.action = "index.cfm";
document.form1.submit();
}
</script>

<form name="form1" action="" method="post" >
<p>Username: <input type="text" name="usercode" value=""></p>
<p>Password: <input type="password" name="password" value=""></p>
<p><input type="button" value="login" 
onclick="loginHandler1();loginHandler2();"></p>
</form>

> -----Original Message-----
> From: Chad Gray [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2008 12:02 PM
> To: CF-Talk
> Subject: RE: paypal cart
> 
> IPN seems to just pass back the final order info so you can see what they
> ordered.  By base64 encoding your array are you making it smaller (as in
> less characters)?  I don't see how I can encode the data before it is
> submitted to paypal.
> 
> I need to find a way of writing to a database then adding the item to the
> paypal cart and do it on one page.
> 
> If I use their form the data is submitted to them and they cannot store
> all of it.  If I submit the form to an action page I write then I cannot
> submit the paypal cart form to add the item to the paypal cart.
> 
> Can a form be submitted to two places at one?  :)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309872
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to