Click to See Complete Forum and Search --> : Error Message:"null or not an object"


Dena R
06-05-2003, 10:42 AM
I am trying to put an order form on my page and I am using code I got from Javascript.internet.com and when incorporate it in my page and I go to look at it in my browser I get an error message that reads: "this.form.total is null or not an object" and "document.myform.total is null or not an object". I am at a loss as to what is going on. This is the code I am trying to use:
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: Paul DeBrino -->
<!-- Web Site: http://infinity-rd.com -->
<!-- Begin
function CheckChoice(whichbox)
{
with (whichbox.form)
{
//Handle differently, depending on type of input box.
if (whichbox.type == "radio")
{
//First, back out the prior radio selection's price from the total:
hiddentotal.value = eval(hiddentotal.value) - eval(hiddenpriorradio.value);
//Then, save the current radio selection's price:
hiddenpriorradio.value = eval(whichbox.price);
//Now, apply the current radio selection's price to the total:
hiddentotal.value = eval(hiddentotal.value) + eval(whichbox.price);
}
else
{
//If box was checked, accumulate the checkbox value as the form total,
//Otherwise, reduce the form total by the checkbox value:
if (whichbox.checked == false)
{ hiddentotal.value = eval(hiddentotal.value) - eval(whichbox.value); }
else { hiddentotal.value = eval(hiddentotal.value) + eval(whichbox.value); }
}

//Ensure the total never goes negative (some browsers allow radiobutton to be deselected):
if (hiddentotal.value < 0)
{
InitForm();
}

//Now, return with formatted total:
return(formatCurrency(hiddentotal.value));
}
}

//Define function to format a value as currency:
function formatCurrency(num)
{
// Courtesy of http://www7.brinkster.com/cyanide7/
num = num.toString().replace(/\$|\,/g,'');
if(isNaN(num))
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+','+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + '$' + num + '.' + cents);
}

//Define function to init the form on reload:
function InitForm()
{
//Reset the displayed total on form:
document.myform.total.value='$0';
document.myform.hiddentotal.value=0;
document.myform.hiddenpriorradio.value=0;
document.myform2.total.value='$0';
document.myform2.hiddentotal.value=0;
document.myform2.hiddenpriorradio.value=0;
document.myform2.hiddenpriorradio.value=0;

//Set all checkboxes and radio buttons on form-1 to unchecked:
for (xx=0; xx < document.myform.elements.length; xx++)
{
if (document.myform.elements[xx].type == 'checkbox' | document.myform.elements[xx].type == 'radio')
{
document.myform.elements[xx].checked = false;
}
}
//Set all checkboxes and radio buttons on form-2 to unchecked:
for (xx=0; xx < document.myform2.elements.length; xx++)
{
if (document.myform2.elements[xx].type == 'checkbox' | document.myform2.elements[xx].type == 'radio')
{
document.myform2.elements[xx].checked = false;
}
}

}

// End -->
</script>

</HEAD>

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->

<BODY onLoad="InitForm();" onreset="InitForm();">

<!-- STEP THREE: Copy this code into the BODY of your HTML document -->

<form method="POST" name="myform">
<font face=Arial size=2>
Steak $15.25
<input type="checkbox" name="Steak" value=15.25 onclick="this.form.total.value=CheckChoice(this);">
Chicken $12.39
<input type="checkbox" name="Chicken" value=12.39 onclick="this.form.total.value=CheckChoice(this);">
Sushi $18.75
<input type="checkbox" name="Sushi" value=18.75 onclick="this.form.total.value=CheckChoice(this);">
<br><br>
<b>Prepare with this special sauce (extra charge -- only one selection allowed):</b>
<br>
None, thanks
<input type="radio" name="Sauce" value=none price=0.00
onclick="this.form.total.value=CheckChoice(this);">
Duck Sauce $10.99
<input type="radio" name="Sauce" value=duck price=10.99
onclick="this.form.total.value=CheckChoice(this);">
Ginger Sauce $5.00
<input type="radio" name="Sauce" value=ginger price=5.00
onclick="this.form.total.value=CheckChoice(this);">
Hot Sauce $1.50
<input type="radio" name="Sauce" value=hot price=1.50
onclick="this.form.total.value=CheckChoice(this);">
<br><br><br>
<input type="hidden" name="hiddentotal" value=0>
<input type="hidden" name="hiddenpriorradio" value=0>
<font size=+1>
Your total is: <input type="text" name="total" readonly onFocus="this.blur();">
</font>
<br><br>
(Note: Total can not be changed by the visitor.)
</font>
</form>


<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 5.24 KB -->


Can You Help!!!![COLOR=blue]

Khalid Ali
06-05-2003, 11:08 AM
Locate InitForm() function and replace the whole function from
function InitForm(){

....
....

}

with the following

//Define function to init the form on reload:
function InitForm(){
//Reset the displayed total on form:
document.myform.total.value='$0';
document.myform.hiddentotal.value=0;
document.myform.hiddenpriorradio.value=0;
//Set all checkboxes and radio buttons on form-1 to unchecked:
for (xx=0; xx < document.myform.elements.length; xx++){
if (document.myform.elements[xx].type == 'checkbox' | document.myform.elements[xx].type == 'radio'){
document.myform.elements[xx].checked = false;
}
}
}

Dena R
06-05-2003, 12:59 PM
I incorporated the change you suggested and still get the error messages. This is how I incorporated your suggestion:
function formatCurrency(num)
{
// Courtesy of http://www7.brinkster.com/cyanide7/
num = num.toString().replace(/\$|\,/g,'');
if(isNaN(num))
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+','+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + '$' + num + '.' + cents);
}


//Define function to init the form on reload:
function InitForm(){
//Reset the displayed total on form:
document.myform.total.value='$0';
document.myform.hiddentotal.value=0;
document.myform.hiddenpriorradio.value=0;
//Set all checkboxes and radio buttons on form-1 to unchecked:
for (xx=0; xx < document.myform.elements.length; xx++){
if (document.myform.elements[xx].type == 'checkbox' | document.myform.elements[xx].type == 'radio'){
document.myform.elements[xx].checked = false;
}

}

}

// End -->
</script>

Jona
06-05-2003, 01:02 PM
You forgot the opening brace { after your if(isNaN(num)) part.

Jona

Dena R
06-05-2003, 05:10 PM
I have tried the { where suggested and still get the same error messages. Here is how the code looks:
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: Paul DeBrino -->
<!-- Web Site: http://infinity-rd.com -->
<!-- Begin
function CheckChoice(whichbox)
{
with (whichbox.form)
{
//Handle differently, depending on type of input box.
if (whichbox.type == "radio")
{
//First, back out the prior radio selection's price from the total:
hiddentotal.value = eval(hiddentotal.value) - eval(hiddenpriorradio.value);
//Then, save the current radio selection's price:
hiddenpriorradio.value = eval(whichbox.price);
//Now, apply the current radio selection's price to the total:
hiddentotal.value = eval(hiddentotal.value) + eval(whichbox.price);
}
else
{
//If box was checked, accumulate the checkbox value as the form total,
//Otherwise, reduce the form total by the checkbox value:
if (whichbox.checked == false)
{ hiddentotal.value = eval(hiddentotal.value) - eval(whichbox.value); }
else { hiddentotal.value = eval(hiddentotal.value) + eval(whichbox.value); }
}

//Ensure the total never goes negative (some browsers allow radiobutton to be deselected):
if (hiddentotal.value < 0)
{
InitForm();
}

//Now, return with formatted total:
return(formatCurrency(hiddentotal.value));
}
}

//Define function to format a value as currency:
function formatCurrency(num)
{
// Courtesy of http://www7.brinkster.com/cyanide7/
num = num.toString().replace(/\$|\,/g,'');
if(isNaN(num)){
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+','+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + '$' + num + '.' + cents);
}


//Define function to init the form on reload:
function InitForm(){
//Reset the displayed total on form:
document.myform.total.value='$0';
document.myform.hiddentotal.value=0;
document.myform.hiddenpriorradio.value=0;
//Set all checkboxes and radio buttons on form-1 to unchecked:
for (xx=0; xx < document.myform.elements.length; xx++){
if (document.myform.elements[xx].type == 'checkbox' | document.myform.elements[xx].type == 'radio'){
document.myform.elements[xx].checked = false;
}

}

}
}
// End -->
</script>

Jona
06-05-2003, 05:12 PM
Can you post the form, please?

Jona

Dena R
06-05-2003, 05:30 PM
Here is the complete form page code (the first half - too long for 1 reply post):
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: Paul DeBrino -->
<!-- Web Site: http://infinity-rd.com -->
<!-- Begin
function CheckChoice(whichbox)
{
with (whichbox.form)
{
//Handle differently, depending on type of input box.
if (whichbox.type == "radio")
{
//First, back out the prior radio selection's price from the total:
hiddentotal.value = eval(hiddentotal.value) - eval(hiddenpriorradio.value);
//Then, save the current radio selection's price:
hiddenpriorradio.value = eval(whichbox.price);
//Now, apply the current radio selection's price to the total:
hiddentotal.value = eval(hiddentotal.value) + eval(whichbox.price);
}
else
{
//If box was checked, accumulate the checkbox value as the form total,
//Otherwise, reduce the form total by the checkbox value:
if (whichbox.checked == false)
{ hiddentotal.value = eval(hiddentotal.value) - eval(whichbox.value); }
else { hiddentotal.value = eval(hiddentotal.value) + eval(whichbox.value); }
}

//Ensure the total never goes negative (some browsers allow radiobutton to be deselected):
if (hiddentotal.value < 0)
{
InitForm();
}

//Now, return with formatted total:
return(formatCurrency(hiddentotal.value));
}
}

//Define function to format a value as currency:
function formatCurrency(num)
{
// Courtesy of http://www7.brinkster.com/cyanide7/
num = num.toString().replace(/\$|\,/g,'');
if(isNaN(num)){
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+','+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + '$' + num + '.' + cents);
}


//Define function to init the form on reload:
function InitForm(){
//Reset the displayed total on form:
document.myform.total.value='$0';
document.myform.hiddentotal.value=0;
document.myform.hiddenpriorradio.value=0;
//Set all checkboxes and radio buttons on form-1 to unchecked:
for (xx=0; xx < document.myform.elements.length; xx++){
if (document.myform.elements[xx].type == 'checkbox' | document.myform.elements[xx].type == 'radio'){
document.myform.elements[xx].checked = false;
}

}

}
}
// End -->
</script>

<title>calculator form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#999999" text="#000000" link="#0033FF" vlink="#FFFF00" alink="#FF0000" onLoad="InitForm();" onreset="InitForm();">
<table width="95%" border="2" cellspacing="0" cellpadding="0" height="35">
<tr>
<td>
<div align="center"><b><font face="Arial, Helvetica, sans-serif" color="#0080FF"><u>Order
Form </u></font></b></div>
</td>
</tr>
</table>
<table width="95%" border="2" cellspacing="0" cellpadding="0">
<tr>
<td>
<div align="center"><font face="Arial, Helvetica, sans-serif" color="#0080FF"><b>Action
Figures </b></font></div>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Mcfarlane: Movie Maniacs - Ash" value=15.25 onclick="this.form.total.value=CheckChoice(this);">
Mcfarlane: Movie Maniacs - Ash $25.99</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Mcfarlane: Movie Maniacs - Snake Plissken" value=15.99 onclick="this.form.total.value=CheckChoice(this);">
Mcfarlane: Movie Maniacs - Snake Plissken $15.99</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: Space 1999" value=20.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: Space 1999 $20.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: SF Stingray" value=9.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: SF Stingray $9.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: UFO - Sky One" value=10.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: UFO - Sky One $10.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: UFO - 3 1/2&quot; Walker" value=13.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: UFO - 3 1/2&quot; Walker $13.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: UFO - 4&quot; w/detachable Sky One" value=20.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: UFO - 4&quot; w/detachable Sky One $20.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: UFO - 3 1/2&quot; Tank" value=20.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: UFO - 3 1/2&quot; Tank $15.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: Thunderbirds - 4&quot; w/ Cargo Pad" value=13.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: Thunderbirds - 4&quot; w/ Cargo Pad $13.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: Thunderbirds - 3 1/2&quot; Ship" value=10.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: Thunderbirds - 3 1/2&quot; Ship $10.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: Thunderbirds - 3 1/2&quot; Air" value=10.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: Thunderbirds - 3 1/2&quot; Air $10.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: Thunderbirds - 3 1/2&quot; Water" value=10.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: Thunderbirds - 3 1/2&quot; Water $10.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="Konami: Thunderbirds - 3 1/2&quot; Rocket" value=10.99 onclick="this.form.total.value=CheckChoice(this);">
Konami: Thunderbirds - 3 1/2&quot; Rocket $10.99 </font>
</form>
</td>
</tr>
<tr>
<td>
<div align="center"><font face="Arial, Helvetica, sans-serif" color="#0080FF"><b>NASCAR
Die Casts</b></font></div>
</td>
</tr>

Dena R
06-05-2003, 05:32 PM
2nd half of page code:

<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200301: #2/2003" value=59.75 onclick="this.form.total.value=CheckChoice(this);">
C200301: #2/2003 $59.75
<input type="checkbox" name="C200302: #5/2003" value=62.99 onclick="this.form.total.value=CheckChoice(this);">
C200302: #5/2003 $62.99</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200303: #6/2003" value=64.99 onclick="this.form.total.value=CheckChoice(this);">
C200303: #6/2003 $64.99
<input type="checkbox" name="C200304: #8/2003" value=56.99 onclick="this.form.total.value=CheckChoice(this);">
C200304: #8/2003 $56.99</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200305: #9/2003" value=56.99 onclick="this.form.total.value=CheckChoice(this);">
C200305: #9/2003 $56.99
<input type="checkbox" name="C200306: #18/2003" value=54.75 onclick="this.form.total.value=CheckChoice(this);">
C200306: #18/2003 $54.75 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200307: #20/2003" value=54.75 onclick="this.form.total.value=CheckChoice(this);">
C200307: #20/2003 $54.75
<input type="checkbox" name="C200308: #48/2003" value=59.75 onclick="this.form.total.value=CheckChoice(this);">
C200308: #48/2003 $59.75 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200309: #88/2003" value=54.75 onclick="this.form.total.value=CheckChoice(this);">
C200309: #88/2003 $54.75 </font> <font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200310: #99/2003" value=64.99 onclick="this.form.total.value=CheckChoice(this);">
C200310: #99/2003 $64.99</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200311: #99/Velvetta" value=59.75 onclick="this.form.total.value=CheckChoice(this);">
C200311: #99/Velvetta $59.75 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200312: #'03/Daytona" value=64.99 onclick="this.form.total.value=CheckChoice(this);">
C200312: #'03/Daytona $64.99</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="checkbox26" value=59.99 onclick="this.form.total.value=CheckChoice(this);">
C200313: #3/Foundation $59.99</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200314: #2/2002" value=59.75 onclick="this.form.total.value=CheckChoice(this);">
C200314: #2/2002 $59.75
<input type="checkbox" name="C200315: #20/Champ" value=59.75 onclick="this.form.total.value=CheckChoice(this);">
C200315: #20/Champ $59.75 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200316: #24/Bugs" value=99.99 onclick="this.form.total.value=CheckChoice(this);">
C200316: #24/Bugs $99.99</font> <font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200317: #29/Sonic" value=54.75 onclick="this.form.total.value=CheckChoice(this);">
C200317: #29/Sonic $54.75 </font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200318: #48/Power" value=52.99 onclick="this.form.total.value=CheckChoice(this);">
C200318: #48/Power $52.99</font> <font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200319: #88/2002" value=93.00 onclick="this.form.total.value=CheckChoice(this);">
C200319: #88/2002 $93.00</font>
</form>
</td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="C200308: #88/Muppets" value=64.99 onclick="this.form.total.value=CheckChoice(this);">
C200308: #88/Muppets $64.99</font>
</form>
</td>
</tr>
<tr>
<td>
<div align="center"><font face="Arial, Helvetica, sans-serif"><b><font color="#0080FF">Barbie
Dolls </font></b></font></div>
</td>
</tr>
<tr>
<td>
<form name="form26" method="post" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="checkbox34" value="checkbox">
Barbie Ballerina
<input type="checkbox" name="checkbox36" value="checkbox">
Cut 'N Style Christie<br>
</font>
</form>
</td>
</tr>
<tr>
<td>
<form name="form27" method="post" action="">
<input type="checkbox" name="checkbox35" value="checkbox">
<font face="Arial, Helvetica, sans-serif" size="-1">Doctor Barbie (African
American)</font>
<input type="checkbox" name="checkbox37" value="checkbox">
<font face="Arial, Helvetica, sans-serif" size="-1"> Doctor Barbie</font><br>
</form>
</td>
</tr>
<tr>
<td>
<form name="form28" method="post" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="checkbox38" value="checkbox">
Stylin' Pup Barbie Doll
<input type="checkbox" name="checkbox39" value="checkbox">
Princess Barbie Doll (Brunette)<br>
</font>
</form>
</td>
</tr>
<tr>
<td>
<form name="form29" method="post" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="checkbox40" value="checkbox">
Princess Barbie Doll (African American)
<input type="checkbox" name="checkbox41" value="checkbox">
Rapunzel Barbie </font>
</form>
</td>
</tr>
<tr>
<td>
<form name="form30" method="post" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="checkbox42" value="checkbox">
Barbie and Snoopy
<input type="checkbox" name="checkbox43" value="checkbox">
Barbie of Swan Lake/Teresa </font>
</form>
</td>
</tr>
<tr>
<td>
<form name="form31" method="post" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="checkbox44" value="checkbox">
Barbie of Swan Lake/Ken as Prince Daniel<br>
</font>
</form>
</td>
</tr>
<tr>
<td>
<form name="form32" method="post" action="">
<font face="Arial, Helvetica, sans-serif" size="-1">
<input type="checkbox" name="checkbox45" value="checkbox">
Happy Birthday Barbie Doll<br>
</font>
</form>
</td>
</tr>
</table>
<form name="form33" method="post" action="">
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="reset" value="Reset"></form>
<br><br><br>
<input type="hidden" name="hiddentotal" value=0>
<input type="hidden" name="hiddenpriorradio" value=0>
<font size=+1>
Your total is: <input type="text" name="total" readonly onFocus="this.blur();">
</font>
<br><br>
(Note: Total can not be changed by the visitor.)


<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 5.24 KB -->
</body>
</html>