|
I work for a non-profit organization, and we are using YourPay.com to process on-line donations. I have set up a form on our web site [ http://www.ncada-stl.org/1001113481/donateonline.php ] with fields for the donation amount and the option of designating the gift as a tribute. (The billing info is entered on yourpay's secure site.) However, the tribute information does not show up when the donation is processed. Is there an easy way to have the form on our website sent to yourpay and to me?
Thanks!
http://www.ncada-stl.org
|
|
|
hi veronica,
yes you can do that by using multiple submit form.
please see some methodology which i'm sure you'll
do that later on. (Good Luck).
-------------------------------
<script language="JavaScript"><!--
function copyAndSubmit(from,to) {
to.myText.value = from.myText.value;
to.submit();
}
document.write('<form name="hiddenForm" action="anything">');
document.write('<input type="hidden" name="myText">');
document.write('<\/form');
//--></script>
<form name="visibleForm" action="something">
<input type="text" name="myText">
<input type="submit" value="Submit something">
<script language="JavaScript"><!--
document.write('<input type="button" value="Submit anything" onClick="copyAndSubmit(document.visibleForm,document.hiddenForm)">');
//--></script>
</form>
-------------------------------
"gain more knowledge at CodeToad.com"
yusairi http://www.vss.com.my
|
|
|
|
|
Hi Yusairi,
Thanks for the script. I'm not sure how to use it, so I'll need to do some reading this weekend. I appreciate you help.
Veronica
|
|
|
hi veronica,
i think you need to do hidden submission.
what i mean is you can try search how to send data
from one form but on two action/process form.
try found out this keyword on google.com
"javascript for multiple submission form".
good luck.
let inform us here if you can solve your problem.
------------------------
"gain more knowledge at CodeToad.com"
yusairi http://www.vss.com.my
|
|
|
|
|
|
|
|
|
|