Traiken
09-03-2008, 04:57 PM
Basically, I'm making a page that links up to PayPal with the "Donate" button however at the same time I have a form on the page that needs to be saved into a database.
After hours of thinking I figured the 2 best ways would be either to make a function that saves information input in the form without it submitting using onClick however I don't think that's possible with ASP which doesn't help at all.
Second solution for me was using onClick (again) to open a new window with a page that loads up the data into the database then closes, leaving the PayPal page. However, obviously once again it's not submitted.
I could do it so you press a Submit button then it takes you to a seperate page with the PayPal button telling you to click to continue but I seriously want to avoid that as it may put people off.
Many thanks in advance!
After hours of thinking I figured the 2 best ways would be either to make a function that saves information input in the form without it submitting using onClick however I don't think that's possible with ASP which doesn't help at all.
Second solution for me was using onClick (again) to open a new window with a page that loads up the data into the database then closes, leaving the PayPal page. However, obviously once again it's not submitted.
I could do it so you press a Submit button then it takes you to a seperate page with the PayPal button telling you to click to continue but I seriously want to avoid that as it may put people off.
Many thanks in advance!