javascript - Radio button selection for paypal form issue -
need help so have paypal form has 2 radio buttons. 1 shipping value, , 1 without. here link actual form http://www.topchoicedata.com/test.php what want happen if person selected first radio box("$19.99 shipping – database sent on cd rom"), 19.99 automatically added "hdwppamount" amount set @ $175, when person press's "pay now", make grand total of $194.99 on paypal page. and if person selected second option instead("free shipping – database sent via email") instead, of course no value added "hdwppamount" amount , $175 total paypal page. now code work if person chooses on or other options, , not alternate between radio buttons deciding 1 choose. kind of buggy because if choose first option, decided second option, , on , forth alternating, either error page or if did choose free option, 19.99 still gets added. i need if first option chosen, 19.99 gets added, , if second option chosen, nothing added. any appreciated. ...