On that script, the submit button transfers the data to a confirmation page on a Yahoo Store server which allows you to check out through Yahoo...I am trying to use PayPal (and eventually when I can afford to, something else like Authorize.net), so Ive modified the form a little bit and have figured out that if I get rid of the references to the yahoo store address and the <input> tags associated with it and put the paypal cart <input> tags in, I can get it to check out through PayPal...the problem is, paypal will only let you know that someone bought a system worth $xxxx. It doesnt tell what options were selected...so what Id like to do is have it so that at the same time that someone submits the order, it also send an email to me with the options selected. So I figure I probably somehow pass the data of the form through a cgi script and have that cgi script use that data to send the email and send to paypal...so I need to send :
<form target="paypal" action="https://www.paypal.com/cgibin/webscr" method="post" class="xgear" style="FONT-SIZE: 8pt" name="calculate">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="name@deleted.com">
<input type="hidden" name="item_name" value="Custom AMD System">
<input type="hidden" name="amount" value="499">
<select class="xgear" onchange="get_total();" size="1" name="flashmedia">
<option value="0,--- Optional ---" selected>--- Optional ---</option>
<option value="35,EXT USB 6in1 Flash Media Reader/Writer in Silver [+$35]">
EXT USB 6in1 Flash Media Reader/Writer Silver [+$35]</option>
</select></font></td>
[edited by: jatar_k at 12:54 pm (utc) on April 18, 2003]
[edit reason] no urls thanks [/edit]
document.calculate.total2.value = "$" + showpos(tmp);
document.calculate.amount.value = document.calculate.total2.value