Hey guys, check my code out below. What i basically want to do is when i click the first button, it then clicks the paypal button. I've got this to work with simple buttons and text fields but i must admit this one has be stumped. Could anyone help me out?

<body>
<form id="form1" name="form1" method="post" action="">
<label>
<input type="button" name="Button" value="Button" onclick="this.form.textfield2.value='First button works'; document.all.form2.submit1.click();" />
</label>
<label>
<input type="text" name="textfield2" />
</label>
</form>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="form2" target="paypal" id="ok">

<input type="hidden" name="cmd" value="_cart">

<input type="hidden" name="add" value="1">

<input type="hidden" name="bn" value="webassist.dreamweaver.4_0_3">

<input type="hidden" name="business" value="paul_wonford@hotmail.com">

<input type="hidden" name="item_name" value="1">

<input type="hidden" name="item_number" value="2">

<input type="hidden" name="amount" value="3">

<input type="hidden" name="currency_code" value="USD">

<input type="hidden" name="receiver_email" value="paul_wonford@hotmail.com">

<input type="hidden" name="mrb" value="R-3WH47588B4505740X">

<input type="hidden" name="pal" value="ANNSXSLJLYR2A">

<input type="hidden" name="no_shipping" value="0">

<input type="hidden" name="no_note" value="0">


<input type="image" name="submit1" src="http://images.paypal.com/images/sc-but-01.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!">

</form>

</body>