PDA

View Full Version : Adding fields in a form to populate MySQL


kona72
04-06-2006, 08:52 PM
edited by dj coz it scrolled horizontaly for 3 mile
Guys... when posting code make sure it formats correctly in the forum...
im not asking for much...just a little house keeping
cheers

Hi All,

I have a form that I need to do some calculations for me before it enters the info into a DB table.

Fisrt off the code for the table....

<table width="786" border="0" cellpadding="6" cellspacing="0" bgcolor="#FFFFFF">

<tr>
<td width="774" height="1228" valign="top"><form name="Confidential_Psychovisual_OrderForm" method="post" action="">
<div align="center">
<p align="center"></p>
</div>
<div align="center">
<table width="650" border="0">

<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Positivity</font></div></td>
<td width="47" valign="top" bgcolor="#FFFFFF"><div align="center"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="POS_Qty" type="text" id="POS_Qty" onBlur="MM_validateForm('POS_Qty','','NisNum','RGO_Qty','' ,'NisNum','RGO_Price','','NisNum',
'STR_Qty','','NisNum','WC_Qty','','NisNum','SS_Qty ','','NisNum','CON_Qty',
'','NisNum','HYP_Qty2','','NisNum','TRX_Qty','','N isNum','SER_Qty','',
'NisNum',
'WL_Qty2','','NisNum','Complete_Set_Quantity','',' NisNum',
'Credit_Card#1','','NisNum','Credit_Card#2','','Ni sNum',
'Credit_Card#3','','NisNum','Credit_Card#4','','Ni sNum');return document.MM_returnValue" value=" 0" size="4" maxlength="4">
</font></div></td>
<td width="48" valign="top"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="POS_Price" type="text" id="POS_Price" size="7">
</font></td>
<td width="246" valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Complete
set of all 11 Psychovisual DVDs </font></div></td>
<td valign="top"><div align="center">
<input name="Complete_Set_Quantity" type="text" id="Complete_Set_Quantity" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="Complete_Set_Price" type="text" id="Complete_Set_Price" size="7" maxlength="7"></td>
<td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">(Resellers
discount of 40%)</font></td>
</tr>
<tr>
<td height="24" colspan="3" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Shipping
&amp; Handling </font></div></td>
<td valign="top"><input name="Shipping&amp;Handling" type="text" id="Shipping&amp;Handling" value=" $15.00" size="7" maxlength="7"></td>
<td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">(Standard
$15 on all orders)</font></td>
</tr>
<tr>
<td height="24" colspan="3" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">TOTAL</font></div></td>
<td valign="top"><input name="TOTAL" type="text" id="TOTAL" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td width="205" height="24" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">


Name
</font></div></td>
<td colspan="4" valign="top">


<input name="Name" type="text" id="Name" size="40" maxlength="60">
</p></td>
</tr>
<tr>
<td height="24" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Email</font></div></td>
<td colspan="4" valign="top"><input name="Email" type="text" id="Email" size="40" maxlength="65"></td>
</tr>
<tr>
<td height="72" valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Address</font></div></td>
<td colspan="4" valign="top"><textarea name="Address" cols="31" rows="3" wrap="OFF" id="textarea"></textarea></td>
</tr>
<tr>
<td height="24" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">City</font></div></td>
<td colspan="4" valign="top"><input name="City" type="text" id="City" size="40" maxlength="50"></td>
</tr>
<tr>
<td height="26" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">State/Province</font></div></td>
<td colspan="4" valign="top"><select name="select">
<option value="AL">Alabama</option>
<option value="AK">Alaska </option>
<option value="AZ">Arizona </option>
<option value="AR">Arkansas </option>
<option value="CA">California </option>
<option value="CO">Colorado </option>
<option value="CT">Connecticut </option>
<option value="DE">Delaware </option>
<option value="FL">Florida </option>
<option value="GA">Georgia </option>
<option value="HI">Hawaii </option>
<option value="ID">Idaho </option>
<option value="IL">Illinois </option>
<option value="IN">Indiana </option>
<option value="IA">Iowa </option>
<option value="KS">Kansas </option>
<option value="KY">Kentucky </option>
<option value="LA">Louisiana </option>
<option value="ME">Maine </option>
<option value="MD">Maryland </option>
<option value="MA">Massachusetts </option>
<option value="MI">Michigan </option>
<option value="MN">Minnesota </option>
<option value="MS">Mississippi </option>
<option value="MO">Missouri </option>
<option value="MT">Montana </option>
<option value="NE">Nebraska </option>
<option value="NV">Nevada </option>
<option value="NH">New Hampshire </option>
<option value="NJ">New Jersey </option>
<option value="NM">New Mexico </option>
<option value="NY">New York </option>
<option value="NC">North Carolina </option>
<option value="ND">North Dakota </option>
<option value="OH">Ohio </option>
<option value="OK">Oklahoma </option>
<option value="OR">Oregon </option>
<option value="PA">Pennsylvania </option>
<option value="RI">Rhode Island </option>
<option value="SC">South Carolina </option>
<option value="SD">South Dakota </option>
<option value="TN">Tennessee </option>
<option value="TX">Texas </option>
<option value="UT">Utah </option>
<option value="VT">Vermont </option>
<option value="VA">Virginia </option>
<option value="WA">Washington </option>
<option value="DC">Washington DC </option>
<option value="WV">West Virginia </option>
<option value="WI">Wisconsin </option>
<option value="WY">Wyoming </option>
<option value="PR">Puerto Rico</option>
<option value="VI">Virgin Islands</option>
<option value="International">International</option>
<option value="NF">Newfounland</option>
<option value="NB">New Brunswick</option>
<option value="PQ">Quebec</option>
<option value="ON">Ontario</option>
<option value="MB">Manitoba</option>
<option value="SK">Saskatchewan</option>
<option value="AB">Alberta</option>
<option value="BC">British Columbia</option>
<option value="YT">Yukon Territory</option>
<option value="NT">Northwest Territories</option>
<option value="NS">Nova Scotia</option>
<option selected value="Select">-select-</option>
</select></td>
</tr>
<tr>
<td height="24" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">ZIP/Postal
Code</font></div></td>
<td colspan="4" valign="top"><input name="ZIP_Postal_Code" type="text" id="ZIP_Postal_Code" size="8" maxlength="8"></td>
</tr>
<tr>
<td height="46" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Credit
card type</font></div></td>
<td colspan="4" valign="top"><table width="200">
<tr>
<td><label> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input type="radio" name="Credit card type" value="VISA">
VISA</font></label></td>
</tr>
<tr>
<td><label> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input type="radio" name="Credit card type" value="MasterCard">
MasterCard</font></label></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Name
on card</font></div></td>
<td colspan="4" valign="top"><input name="Name_on_Card" type="text" id="Name_on_Card" size="40" maxlength="40"></td>
</tr>
<tr>
<td height="24" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Credit
card number</font></div></td>
<td colspan="4" valign="top"><input name="Credit_Card#1" type="text" id="Credit_Card#1" value="" size="4" maxlength="4">
<input name="Credit_Card#2" type="text" id="Credit_Card#2" size="4" maxlength="4">
<input name="Credit_Card#3" type="text" id="Credit_Card#3" size="4" maxlength="4">
<input name="Credit_Card#4" type="text" id="Credit_Card#4" size="4" maxlength="4"></td>
</tr>
<tr>
<td height="26" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Expiry:
month </font></div></td>
<td colspan="4" valign="middle"><select name="Expiry_Month" size="1" id="Expiry_Month">
<option value="13">mm</option>
<option value="12">12</option>
<option value="11">11</option>
<option value="10">10</option>
<option value="09">09</option>
<option value="08">08</option>
<option value="07">07</option>
<option value="06">06</option>
<option value="05">05</option>
<option value="04">04</option>
<option value="03">03</option>
<option value="02">02</option>
<option value="01">01</option>
</select> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">year
<select name="Expiry_Year" id="select">
<option>yy</option>
<option>16</option>
<option>15</option>
<option>14</option>
<option>13</option>
<option>12</option>
<option>11</option>
<option>10</option>
<option>09</option>
<option>08</option>
<option>07</option>
<option>06</option>
</select>
</font></td>
</tr>
<tr valign="middle">
<td height="26" colspan="5"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<input type="radio" name="radiobutton" value="radiobutton">
I have read and accept the <a href="terms_and_Conditions.htm" target="_blank">Terms
and Conditions</a>.</font></div></td>
</tr>
<tr>
<td height="26" colspan="2" valign="top"><div align="right">
<input name="Reset" type="submit" id="Reset" onClick="MM_validateForm('RGO_Qty','','NisNum','STR_Qty','' ,'NisNum','WC_Qty','','NisNum','SS_Qty','','NisNum ','CON_Qty','','NisNum');return document.MM_returnValue" value="Reset">
</div></td>
<td colspan="3" valign="top"><input type="submit" name="Submit" value="Submit"></td>
</tr>
<tr>
<td height="4"></td>
<td width="82"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</form></td>

<tr>
<td height="1"></td>
</table>

No what i need it to do is using Positivity for example.
When a visitor inputs the desired number [POS_Qty] it automatically multiplies it by a predetermined price in the [POS_price] field. Then it would add that number to any other totals for different sets and then finally add a standard shiping and handling and then finally total it.

Is this even do-able???

davidj
04-07-2006, 09:09 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

<script language="javascript" type="text/javascript">

function calcprice(){

a = document.getElementById('POS_Qty');
b = document.getElementById('Complete_Set');
c = document.getElementById('POS_Price');
d = document.getElementById('Set_Price');
e = document.getElementById('prc1');
f = document.getElementById('prc2');
s = document.getElementById('Shipping');
t = document.getElementById('TOTAL');

c.value = parseFloat(a.value) * parseFloat(e.value);
d.value = parseFloat(b.value) * parseFloat(f.value);



val1 = parseFloat(s.value);
val2 = parseFloat(d.value);
val3 = parseFloat(c.value);

st = eval(val1+val2+val3);

t.value = st;


}


</script>

</head>

<body>
<table width="786" border="0" cellpadding="6" cellspacing="0" bgcolor="#FFFFFF">

<tr>
<td width="774" height="1228" valign="top"><form name="Confidential_Psychovisual_OrderForm" method="post" action="">
<div align="center">
<p align="center"></p>
</div>
<div align="center">
<table width="650" border="0">

<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Positivity</font></div></td>
<td width="47" valign="top" bgcolor="#FFFFFF"><div align="center"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="POS_Qty" type="text" id="POS_Qty" onBlur="calcprice()" value=" 0" size="4" maxlength="4">
</font></div></td>
<td width="48" valign="top"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="POS_Price" type="text" id="POS_Price" size="7">
</font></td>
<td width="246" valign="top"><input name="prc1" type="hidden" id="prc1" value="1.50" /></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Complete
set of all 11 Psychovisual DVDs </font></div></td>
<td valign="top"><div align="center">
<input name="Complete_Set" type="text" id="Complete_Set" value=" 0" size="4" maxlength="4" onBlur="calcprice()">
</div></td>
<td valign="top"><input name="Set_Price" type="text" id="Set_Price" size="7" maxlength="7"></td>
<td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">(Resellers
discount of 40%)
<input name="prc2" type="hidden" id="prc2" value="5.20" />
</font></td>
</tr>
<tr>
<td height="24" colspan="3" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Shipping
&amp; Handling </font></div></td>
<td valign="top"><input name="Shipping" type="text" id="Shipping" value="15" size="7"></td>
<td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">(Standard
$15 on all orders)</font></td>
</tr>
<tr>
<td height="24" colspan="3" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">TOTAL</font></div></td>
<td valign="top"><input name="TOTAL" type="text" id="TOTAL" value="0" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="26" colspan="2" valign="top"><div align="right">
<input name="Reset" type="submit" id="Reset" value="Reset">
</div></td>
<td colspan="3" valign="top"><input type="submit" name="Submit" value="Submit"></td>
</tr>
<tr>
<td width="205" height="4"></td>
<td width="82"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</form></td>

<tr>
<td height="1"></td>
</table>
</body>
</html>

kona72
04-07-2006, 07:17 PM
PERFECT.... I got that to work but i actually have a whole list to do. I tried to use your example but can't seem to get it to work.

Here is the new code with added fields and goodness!!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Psychovisual Order Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript" type="text/javascript">

function calcprice(){

a = document.getElementById('POS_Qty');
b = document.getElementById('RGO_Qty');
c = document.getElementById('STR_Qty');
d = document.getElementById('WC_Qty');
e = document.getElementById('SS_Qty');
f = document.getElementById('SC_Qty');
g = document.getElementById('MH_Qty');
h = document.getElementById('FFT_Qty');
i = document.getElementById('SER_Qty');
j = document.getElementById('WL_Qty');
k = document.getElementById('REL_Qty');
l = document.getElementById('COM_Qty');
m = document.getElementById('price');
n = document.getElementById('POS_Price');
o = document.getElementById('RGO_Price');
p = document.getElementById('STR_Price');
q = document.getElementById('WC_Price');
r = document.getElementById('SS_Price');
s = document.getElementById('SC_Price');
t = document.getElementById('MH_Price');
u = document.getElementById('FFT_Price');
v = document.getElementById('SER_Price');
w = document.getElementById('WL_Price');
x = document.getElementById('REL_Price');
y = document.getElementById('COM_Price');
aa = document.getElementById('sh');
bb = document.getElementById('total');


n.value = parseFloat(a.value) * parseFloat(m.value);
o.value = parseFloat(b.value) * parseFloat(m.value);
p.value = parseFloat(c.value) * parseFloat(m.value);
q.value = parseFloat(d.value) * parseFloat(m.value);
r.value = parseFloat(e.value) * parseFloat(m.value);
s.value = parseFloat(f.value) * parseFloat(m.value);
t.value = parseFloat(g.value) * parseFloat(m.value);
u.value = parseFloat(h.value) * parseFloat(m.value);
v.value = parseFloat(i.value) * parseFloat(m.value);
w.value = parseFloat(j.value) * parseFloat(m.value);
x.value = parseFloat(k.value) * parseFloat(m.value);
y.value = parseFloat(l.value) * parseFloat(m.value);




}


</script>
</head>

<body bgcolor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
<table width="786" border="0" cellpadding="6" cellspacing="0" bgcolor="#FFFFFF">

<tr>
<td width="774" height="1228" valign="top"><form name="Confidential_Psychovisual_OrderForm" method="post" action="">
<div align="center">
<p align="center"><font color="#666666" size="-7" face="Verdana, Arial, Helvetica, sans-serif">Psychovisual.com</font><font color="#666666" size="1" face="Verdana, Arial, Helvetica, sans-serif">



</font>header_and_logo.gif
</p>
<p align="center"><font size="4" face="Times New Roman, Times, serif">CONFIDENTIAL
ORDER FORM

</font><font color="#FF0000" size="2" face="Arial, Helvetica, sans-serif">We
do not share your confidential information with anyone.
Ever.</font></p>
<p align="center"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif"><font size="4">Psychovisual
Self-Improvement Motivational DVDs</font></font><font color="#FF0000" size="2" face="Arial, Helvetica, sans-serif">
</font></p>
</div>
<div align="center">
<table width="650" border="0">

<tr>
<td height="21" colspan="2" valign="bottom"><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Please
rush me the following DVDs: </font></div></td>
<td width="47" valign="bottom"><div align="right"><font color="#000099" size="1" face="Verdana, Arial, Helvetica, sans-serif">Quantity</font></div></td>
<td width="48" valign="bottom"><div align="right"><font color="#000099" size="1" face="Verdana, Arial, Helvetica, sans-serif">Price</font></div></td>
<td width="246" valign="bottom"><div align="left"><font color="#003399" size="1" face="Verdana, Arial, Helvetica, sans-serif"><font color="#000000">DVDs
are $26.75 </font><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">each</font>
<font color="#000000">(US dollars) </font></font></div></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Positivity</font></div></td>
<td valign="top" bgcolor="#FFFFFF"><div align="center"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="POS_Qty" type="text" id="POS_Qty" value=" 0" size="4" maxlength="4">
</font></div></td>
<td valign="top"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="POS_Price" type="text" id="POS_Price" size="7">
</font></td>
<td valign="top"><input name="price" type="hidden" id="price" value="26.75"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Relax
and Let Go</font></div></td>
<td valign="top"><div align="center"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="RGO_Qty" type="text" id="RGO_Qty" value=" 0" size="4" maxlength="4">
</font></div></td>
<td valign="top"><font color="#003399" size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="RGO_Price" type="text" id="RGO_Price" size="7" maxlength="7">
</font></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Stress
Control</font></div></td>
<td valign="top"><div align="center">
<input name="STR_Qty" type="text" id="STR_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="STR_Price" type="text" id="STR_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Weight
Control</font></div></td>
<td valign="top"><div align="center">
<input name="WC_Qty" type="text" id="WC_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="WC_Price" type="text" id="WC_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Stop
Smoking</font></div></td>
<td valign="top"><div align="center">
<input name="SS_Qty" type="text" id="SS_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="SS_Price" type="text" id="SS_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Self
Confidence</font></div></td>
<td valign="top"><div align="center">
<input name="SC_Qty" type="text" id="SC_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="SC_Price" type="text" id="SC_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Mind
and Hypnosis</font></div></td>
<td valign="top"><div align="center">
<input name="MH_Qty" type="text" id="MH_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="MH_Price" type="text" id="MH_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Freedom
from Tranquilizers</font></div></td>
<td valign="top"><div align="center">
<input name="FFT_Qty" type="text" id="FFT_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="FFT_Price" type="text" id="FFT_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr valign="middle">
<td height="24" colspan="5"><div align="center"><font color="#000099" size="2" face="Verdana, Arial, Helvetica, sans-serif">Psychovisual
Professional Series[/i]</font></div></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Serenity</font></div></td>
<td valign="top"><div align="center">
<input name="SER_Qty" type="text" id="SER_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="SER_Price" type="text" id="SER_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Weight
Loss</font></div></td>
<td valign="top"><div align="center">
<input name="WL_Qty" type="text" id="WL_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="WL_Price" type="text" id="WL_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Relaxation</font></div></td>
<td valign="top"><div align="center">
<input name="REL_Qty" type="text" id="REL_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="REL_Price" type="text" id="REL_Price" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="24" colspan="2" valign="middle"><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Complete
set of all 11 Psychovisual DVDs </font></div></td>
<td valign="top"><div align="center">
<input name="COM_Qty" type="text" id="COM_Qty" value=" 0" size="4" maxlength="4">
</div></td>
<td valign="top"><input name="COM_Price" type="text" id="COM_Price" size="7" maxlength="7"></td>
<td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">(Resellers
discount of 40%)</font></td>
</tr>
<tr>
<td height="24" colspan="3" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Shipping
&amp; Handling </font></div></td>
<td valign="top"><input name="sh" type="text" id="sh" value="15.00" size="7" maxlength="7"></td>
<td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">(Standard
$15 on all orders)</font></td>
</tr>
<tr>
<td height="24" colspan="3" valign="middle"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">TOTAL</font></div></td>
<td valign="top"><input name="total" type="text" id="total" size="7" maxlength="7"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="26" colspan="2" valign="top"><div align="right">
<input name="Reset" type="submit" id="Reset" value="Reset">
</div></td>
<td colspan="3" valign="top"><input type="submit" name="Submit" value="Submit"></td>
</tr>
<tr>
<td width="205" height="4"></td>
<td width="82"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</form></td>

<tr>
<td height="1"></td>
</table>
</div>
</body>
</html>