webform内置贝宝捐赠按钮

时间:2014-11-14 16:38:53

标签: javascript html forms paypal donations

是否可以在带有单选按钮的webform中使用paypal捐赠按钮,以便该人必须捐赠以发送表单?如果是这样,怎么能实现呢?

提前致谢

text-decoration: none}
.robolink:link {font-weight: bold; font-size: 9pt; color: #999999; font-family: Arial,     Helvetica, sans-serif; text-decoration: none}
.robolink:hover {font-weight: bold; font-size: 9pt; color: #979653; font-family: Arial, Helvetica, sans-serif; text-decoration: underline}
 .robolink:visited {font-weight: bold; font-size: 9pt; color: #979653; font-family: Arial, Helvetica, sans-serif; text-decoration: none}
</style>
 <form name="htmlphpformgenerator1" method="Post" action="mailto:davidbackward@me.com">
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr><td valign=top>What Snake?</td><td valign=top>
<input type="radio" name="What_Snake__1" value="Retic" checked>Retic<br>
<input type="radio" name="What_Snake__1" value="Boa">Boa<br>
<input type="radio" name="What_Snake__1" value="Grass">Grass<br>
<input type="radio" name="What_Snake__1" value="King">King<br>
<input type="radio" name="What_Snake__1" value="Cobra">Cobra<br>
 </td></tr>
<tr><td colspan=2><input type="submit" name="Submit" value="Cast Your Vote"></td></tr>
<tr><td colspan=2 class=robotext><a href="http://www.phpform.info" class="robolink">HTML/PHP Form Generator</a> from ROBO Design Solutions</td></tr></table></form>

1 个答案:

答案 0 :(得分:0)

这样做的一种方法是将捐赠按钮设计为提交按钮(可以通过您的PayPal帐户完成)。以下是执行此操作的说明:

https://www.paypal.com/us/cgi-bin/?cmd=_donate-intro-outside

您可能希望向最终用户表明,通过点击提交,他们将被重定向到PayPal进行捐赠。

希望这有帮助。