Page 1 of 1

How to add PayPal Donation Form

Posted: Thu Mar 08, 2012 10:27 pm
by Raheel
Hi,

I want to add PayPal donation form, it displays the form fine on webpage by adding it to a scriptlet but strips out the <form></form> tags, which renders it useless.

The form code is:

Code: Select all

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" onsubmit="return window.confirm("This form may not function properly due to certain security constraints.\nContinue?");">
<input type="hidden" name="cmd" value="abcd">
<input type="hidden" name="hosted_button_id" value="cdef">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Please help.

Re: How to add PayPal Donation Form

Posted: Fri Mar 09, 2012 11:56 am
by jmestep
You can Google on something like form within form in .net and see various suggestions.
One result is here:
http://geekswithblogs.net/mnf/archive/2 ... basck.aspx