Hi,
I am really stuck. I have created an order form and with multiple drop down boxes. I need to add the selected values together and then multiply that by the cost of the item, to get a total cost. Each item costs £2.50 (Sausages!) Some of my code is below....there are many more items in the tables, but the principle should be the same...i hope!
Please, Please help ASAP...i have looked everywhere for an answer but cant find one...it cant be that hard..can it?
<form>
<table cellpadding="6" cellspacing="4" border="2">
<tr>
<td colspan=4><img src="PORKCHROME2.JPG"</td>
<td colspan=4>
</tr>
<tr>
<td><b>PRODUCT</td><td><b>
CODE</td><
td><b>PRIC
E</td><td>
<b>QTY</td
><t
d><b>PRODUCT</td><td><b>CO
DE</td><td
><b>PRICE<
/td><td><b
>QTY</td><
td>
<b>PRODUCT</td><td><b>CODE
</td><td><
b>PRICE</t
d><td><b>Q
TY</td>
</tr>
<tr>
<td>Pork and Onion</td><td>0101</td><td
>£2.50</td
><td><sele
ct
name="qty">
<option value="5"selected>5</optio
n>
<option value="4"selected>4</optio
n>
<option value="3"selected>3</optio
n>
<option value="2"selected>2</optio
n>
<option value="1"selected>1</optio
n>
<option value="0"selected>0</optio
n>
</select><br></td></td><td
>Pork and
Gravy</td><td>0104</td><td
>£2.50</td
><td><sele
ct name="qty0104">
<option value="5"selected>5</optio
n>
<option value="4"selected>4</optio
n>
<option value="3"selected>3</optio
n>
<option value="2"selected>2</optio
n>
<option value="1"selected>1</optio
n>
<option value="0"selected>0</optio
n>
</select><br></td></td><td
>Pork and
Liver</td><td>0107</td><td
>£2.50</td
><td><sele
ct name="qty0107">
<option value="5"selected>5</optio
n>
<option value="4"selected>4</optio
n>
<option value="3"selected>3</optio
n>
<option value="2"selected>2</optio
n>
<option value="1"selected>1</optio
n>
<option value="0"selected>0</optio
n>
</select><br></td></td>
</tr>
<tr>
Start Free Trial