codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Help with a form  speedwell at 16:38 on Thursday, September 02, 2004
 

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


  Re: Help with a form  Yusairi at 17:36 on Thursday, September 02, 2004
 

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





  Re: Help with a form  speedwell at 15:18 on Friday, September 03, 2004
 

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

  Re: Help with a form  Yusairi at 17:10 on Friday, September 03, 2004
 

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









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  How to dynamically create a calendar when I click a button?
•  c++ tutorials
•  Update a second table
•  Trackin Site behaviour
•  variable scope problem
•  dynamic crystal report generation
•  execute an Excel macro when the sheet is changed from ASP.NET
•  Re: form
•  form


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005