As I said, it doesn't matter how complex the form is. But the form should have a name, so by substituting your form for the simple form and giving it a name, we can make it work with the code given:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="pp1">
<div>
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@squadserver.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="TeamWork Gaming Server Payment">
<input type="hidden" name="item_number" value="QP">
<input type="hidden" name="page_style" value="SquadServer">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.squadserver.com/paypal/quickpay.html">
<input type="hidden" name="cn" value="Payment Instructions">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="submit" name="Submit" id="submit2" value="Donations" width="160"/>
</div>
</form>
<form action="#" onsubmit="return false;">
<div>
<input type="radio" name="act" value="url::http://www.google.com/">Google<br>
<input type="radio" name="act" value="frm::pp1">Make TeamWork Gaming Server Payment<br>
<input type="submit" value="Go!"
onclick="for (var e=this.form.elements, i = e.length-1; i > -1; --i)
if(e[i].name=='act'&&e[i].checked)
if(e[i].value.split('::')[0]=='url')
window.open(e[i].value.split('::')[1],'_blank','top=100, left=250, width=600, height=400, location, resizable');
else if(e[i].value.split('::')[0]=='frm')
document.forms[e[i].value.split('::')[1]].submit();">
</div>
</form>
</body>
</html>
Incidentally, if you want this PayPal form to post open to a new window, just set its target to _blank:
Code:
<form target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post" name="pp1">
Bookmarks