Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Want my form to do multiple Actions

form action email php script

3:59 am on May 19, 2004 (gmt 0)

New User

10+ Year Member

joined:May 12, 2004
votes: 0

I have a booking form(booknow.htm) on my website.
It collects info like name, email, type of activity to book, Amount etc from the user.

Now this form posts to (https://iconzsecure.net/aucklandactivities/creditcard.php), which is a secure page and which has another form which collects the credit card info from the user and sends me the credit card details in an encrypted email.

But I also need the details collected in the booking form(booknow.htm).

So i want the booking form to post to the php script as well as email me the details collected in it(name, email, type of activity etc).

I think i cannot post the form to 2 actions.

So what can i do?

I think it is possible by php or something.

Here i would like to point out, that the second form (secure form) just requires a field Amount.
So if there is some way where i can get the first form(booking form) to email me all the details the user has input, and then post to the second form with the value of Amount, then it'll work.

3:05 pm on May 19, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 17, 2002
votes: 0

It is nearly impossible to do, well mostly.

I do not use php, but what i'd do, is first have the form action send to your own page, that sends it via email to you.

Then resubmits that form data to that secure order placing app.

It's the most logical way.

You could do this in javascript, but it'd be faster in a server-side language.