/    Sign up×
Community /Pin to ProfileBookmark

2 actions in a form

Hello,
this is my first thread so hang with me.

I am trying to get a form to work on my website and I need it to do 2 things:
1. It needs to proceed to a payment form on our payment website and pass all of the info that form needs through to the next form.
2. I need it to email me the information on that form.

Now I can get it to do one or the other but not both using the “action:” thing in the form. I can go to the pay form with the correct action or to a formmail.pl file with the correct action. I cannot do both. Can I use Java and the OnClick thing to make this work and if so how I have tried several websites and most just offer how to send an email not how to do both.

Thanks,
Jonathan

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@malarzJul 17.2007 — Can't You modify second payment site to send mail ? It sounds easiest ?
Copy linkTweet thisAlerts:
@bittespuhlenauthorJul 17.2007 — Our merchant company made the payment form and they are acting like it's not their problem. Is there another way or should I just try to get them to do it?
Copy linkTweet thisAlerts:
@malarzJul 17.2007 — Maybe you can use onSubmit event.
[CODE]
<form name='form' action='action' method='get/post' onSubmit='...'>
......
[/CODE]

I have never handled with perl so I don't know is it possible to somehow call it with JavaScript, You have to check it on Your own
Copy linkTweet thisAlerts:
@bittespuhlenauthorJul 18.2007 — are you saying to put the pearl action where it says onsubmit="..."

I will try that.

thank you
Copy linkTweet thisAlerts:
@bittespuhlenauthorJul 18.2007 — It didn't work that way. We are getting really tired of dealing with the merchant company they just emailed wanting another $200 to fix THEIR form. Here is the web address: http://www.simplyamazingu.com/register2.html

Can I build their side of the form?

How can I make it secure and work with the merchant account? If I knew how to do this we could just cut them out of the loop all together.

-Jonathan
Copy linkTweet thisAlerts:
@malarzJul 18.2007 — ERROR 404 - Not found
×

Success!

Help @bittespuhlen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...