Google Answers Logo
View Question
 
Q: Javascript Validation of Drop Down Menu ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Javascript Validation of Drop Down Menu
Category: Computers > Programming
Asked by: catullus13-ga
List Price: $10.00
Posted: 15 Dec 2003 13:34 PST
Expires: 14 Jan 2004 13:34 PST
Question ID: 287436
I have an HTML form with a drop down menu containing about 80
different selections. This menu is populated dynamically from a
database table, using PHP/MySql. For programming purposes, I have set
the SELECT as: <select name="product[]" size="5" multiple>.

My question is: I'm trying to create the Javascript validation for
this field in an include file. All the other fields on the form are
working just fine, but I am not a Javascript expert and am having
trouble coming up with the correct syntax to make sure that user
selects at least one of these items. The usual way I do it is to have
an option at the beginning like "--Select One--" and then do the
validation using something like "product.option[0].selected" to learn
if one item was selected. However, on this form, the option[0]
position has to be a real item for purposes of layout, so this method
is not available.

I created the following code to try to validate this, but it's not working:

               var hasSelections = false;
               for(var i = 0; i < product.options.length; i++)
                {
                  if(product.options[i].selected)
                    {
                     hasSelections = true;
                     break;
                    }
                }
               if(!hasSelections)
                {
                 alert("Please select a product/service category.");
                 product.focus();
                 return false;
                }

Can someone help produce the correct syntax to do this? Thank you.
Answer  
Subject: Re: Javascript Validation of Drop Down Menu
Answered By: googleexpert-ga on 15 Dec 2003 17:46 PST
Rated:5 out of 5 stars
 
Hi, 
I ran your JavaScript code and with some modifications, I got it working:
I changed:

               if(!hasSelections)
                {
                 alert("Please select a product/service category.");
                 product.focus();
                 return false;
                }
To -->
               if(!hasSelections)
                {
                 alert("Please select a product/service category.");
                 frm.action = "";
                }

with the following in mind:
<form name="frm" action="submit.php">
<select name="product[]" size="5" multiple>
<option="one">One</option>
<option="two">Two</option>
.....
<input type="submit" value="Proceed" onClick="validate()">
</form>

If you have any questions, please let me know.
Thank you.

-googleexpert

Request for Answer Clarification by catullus13-ga on 16 Dec 2003 05:49 PST
I put your code in place like this:

               var hasSelections = false;
               for(var i = 0; i < product.options.length; i++)
                {
                  if(product.options[i].selected)
                    {
                     hasSelections = true;
                     break;
                    }
                }
               if(!hasSelections)
                {
                 alert("Please select a product/service category.");
                 xform.action = "";
                }
The only variable I changed was to use xform.action=""; instead of
your frm.action="";, since the current name of the form is xform.
Unfortunately, it's still not working. Do you need more info regarding
this, or could you help point me in the right direction for this?
Thanks.

Request for Answer Clarification by catullus13-ga on 16 Dec 2003 07:07 PST
As a further note, I was testing out this validation script in the MS
Debugger, and it gives me an error message saying that in the first
appearance in the validation script of the variable "product," that it
is "undefined."

               var hasSelections = false;
               for(var i = 0; i < product.options.length; i++)
                {
                  if(product.options[i].selected)
                    {
                     hasSelections = true;
                     break;
                    }
                }
               if(!hasSelections)
                {
                 alert("Please select a product/service category.");
                 xform.action = "";
                }

I hope this helps a little bit with this problem. Thanks for any help you can give.

Clarification of Answer by googleexpert-ga on 16 Dec 2003 15:05 PST
Hi catullus13,
I received the same error message you were talking about in "MS Debugger"
I removed the following line:
                 product.focus();
...And I used:
                 var length = document.frm.product.length;
                 for(var i = 0; i < length; i++)
in place of:
               for(var i = 0; i < product.options.length; i++)

Since I don't have MS Debugger on my system, I tested validate() in
the following browsers:
Internet Explorer
Safari
Opera
Omniweb

Here is what my HTML Source looks like:

<script language = "JavaScript">
function validate()
{
var selected_index = document.frm.product.selectedIndex;
var length = document.frm.product.length;
var selected = false;
for(var i = 0; i < length; i++)
{
	if(document.frm.product.options[i].selected)
	{
	selected = true;
	}
}
if(!selected)
{	
	alert("Please select a product/service category.");	
	frm.action = "";
}
}
</script>
<form name="frm" action="form.php">
<select name="product" size="5" multiple>
<option value="one">One</option>
<option value="two">Two</option>
<option value="three">Three</option>
</select>
<br>
<input type="submit" value="Proceed" onClick="validate()">
</form>

Please let me know if validate() runs okay on your end.
Thanks again.

-googleexpert

Request for Answer Clarification by catullus13-ga on 17 Dec 2003 05:18 PST
Googleexpert,

I'm afraid to say that it is still not working. I tried the code
exactly as you provided it, and I received a Javascript error in the
MS debugger saying, "document.xform.product.selectedIndex; is null or
not an object." Then, since this code is within a function and With
statement already, along with the rest of the Javascript validation,
that goes:

function validate(){
	with(document.xform){
var selected_index = document.xform.product.selectedIndex;
var length = document.xform.product.length;
var selected = false;
for(var i = 0; i < length; i++)
{
	if(document.xform.product.options[i].selected)
	{
	selected = true;
	}
}
if(!selected)
{	
	alert("Please select a product/service category.");	
	xform.action = "";
}
}
}

I then tried removing the "document.xform" from the code where you
have it. I received a Javascript error saying, "product is undefined."

Right now, I'm at a loss about this, but I think it could be because
we're missing some essential syntax. So, I might as well give you some
of the code used to make the field on the form, in the hope that you
might be able to spot where the problem lies. Here is the form code:

<form name="xform" enctype="multipart/form-data" action="<? echo
$XACTION; ?>" method="post" onSubmit="return validate();">


And here is the function that makes the drop down menu:

function xProductSelect($id){
        $id = intval($id);
	echo "<tr>\n";
	echo "\t<td valign=\"top\"><font face=\"arial\"
size=\"2\">Product/Service Category<br>(select as many as
apply):&nbsp;</td>\n";
	echo "\t<td valign=\"bottom\"><font face=\"arial\" size=\"2\"><select
name=\"product[]\" size=\"5\" multiple>\n";
	mysql_select_db("rnews")
	        or die("Database select failed<p>\n");
	$query	= " SELECT itecprod.*, iteclist.product IS NOT NULL as
selected FROM itecprod LEFT JOIN iteclist ON
itecprod.product=iteclist.product AND id=$id ORDER BY product";
	$result	= mysql_query($query);
	for($i=0; $i < mysql_numrows($result); $i++){
		$product	= mysql_result($result, $i, "product");
		$selected = mysql_result($result, $i, "selected");
		echo "\t\t<option value=\"$product\"";
		if($selected)	{ echo " SELECTED"; }
		echo ">$product\n";
	}
	echo "\t\t</select>\n\t</td>\n";
	echo "</tr>\n";
	mysql_select_db("rnews")
	        or die("Database select failed<p>\n");
}

I hate to put you to all this trouble, but you seem to be really good
at this and you're my last hope. Let me know if you could use anything
else. If you don't have time to do this, I really understand since
you've put in a lot already for a $10 fee. Thanks much!

Clarification of Answer by googleexpert-ga on 17 Dec 2003 06:53 PST
Can you show me the HTML Source that is generated by your function?
Thanks.

Clarification of Answer by googleexpert-ga on 17 Dec 2003 07:15 PST
Here's the PHP Source along with JavaScript Function that works in
Internet Explorer for me.
Please let me know if this works for you.
Thank you.

dropmenu.php (self-referencing PHP script)
-------------------------------------
<script language = "JavaScript">
function validate()
{
var length = document.frm.elements['product[]'].length;
var selected = false;
for(var i = 0; i < length; i++)
{
	if(document.frm.elements['product[]'].options[i].selected)
	{
	selected = true;
	}
}
if(!selected)
{	
	alert("Please select a product/service category.");	
	frm.action = "";
}
}
</script>
<form name="frm" action="dropmenu.php">
<select name="product[]" size="5" multiple>
<option value="one">One</option>
<option value="two">Two</option>
<option value="three">Three</option>
</select>
<br>
<input type="submit" value="Proceed" onClick="validate()">
</form>
<?
if($product)
{
	echo "<ol>";
	foreach($product as $item)
	{
	echo "<li>$item";
	}
	echo "</ol>";

}
?>

Request for Answer Clarification by catullus13-ga on 17 Dec 2003 11:12 PST
I'm sorry but it's still not working when I used the new Javascript
validation you provided. I'm getting a "not implemented" error in the
MS Debugger with it.

Here is the Html source code for the Product function (it's pretty long):

	<td valign="top"><font face="arial" size="2">Product/Service
Category<br>(select as many as apply):&nbsp;</td>
	<td valign="bottom"><font face="arial" size="2"><select
name="product[]" size="5" multiple>
		<option value="3D Tire Concepts">3D Tire Concepts
		<option value="Accessories for Calender Material">Accessories for
Calender Material
		<option value="Actuators">Actuators
		<option value="Additives">Additives
		<option value="Adhesives">Adhesives
		<option value="After Sales Service">After Sales Service
		<option value="Automatic Bead Handling/Application
Systems">Automatic Bead Handling/Application Systems
		<option value="Automation Controls">Automation Controls
		<option value="Automotive Proving Grounds">Automotive Proving Grounds
		<option value="Ball Screws">Ball Screws
		<option value="Ball Splines">Ball Splines
		<option value="Band Builders">Band Builders
		<option value="Bar Code Labels/Scanners">Bar Code Labels/Scanners
		<option value="Batch-Offs">Batch-Offs
		<option value="Bead Apexing Machinery">Bead Apexing Machinery
		<option value="Bead Lubers">Bead Lubers
		<option value="Bead Machinery">Bead Machinery
		<option value="Bearings">Bearings
		<option value="Bellows">Bellows
		<option value="Bladder Curing Press">Bladder Curing Press
		<option value="Bladder Molds">Bladder Molds
		<option value="Bladder Turning Machines">Bladder Turning Machines
		<option value="Bladders">Bladders
		<option value="Bonded Mechanisms">Bonded Mechanisms
		<option value="Brakes">Brakes
		<option value="Bromobutyl">Bromobutyl
		<option value="Bus Network Products">Bus Network Products
		<option value="Bushings">Bushings
		<option value="Butyl">Butyl
		<option value="Calemard Slitting Machines">Calemard Slitting Machines
		<option value="Calendars">Calendars
		<option value="Calibration Service">Calibration Service
		<option value="Carbon Black">Carbon Black
		<option value="Chemicals">Chemicals
		<option value="Chillers">Chillers
		<option value="Chlorobutyl">Chlorobutyl
		<option value="Clutches">Clutches
		<option value="Coatings">Coatings
		<option value="Compound Development">Compound Development
		<option value="Condensate Handling Systems">Condensate Handling Systems
		<option value="Consulting Services">Consulting Services
		<option value="Containers">Containers
		<option value="Control Systems">Control Systems
		<option value="Conveying Systems">Conveying Systems
		<option value="Conveyor Belting">Conveyor Belting
		<option value="Cooling Towers">Cooling Towers
		<option value="Cordsets">Cordsets
		<option value="Couplings">Couplings
		<option value="Curing Bladders">Curing Bladders
		<option value="Curing Presses">Curing Presses
		<option value="Curing Systems">Curing Systems
		<option value="Custom Designed Insulting Blankets">Custom Designed
Insulting Blankets
		<option value="Custom Machining">Custom Machining
		<option value="Custom Packaging">Custom Packaging
		<option value="Custom Screw Designs">Custom Screw Designs
		<option value="Custom Treating Services">Custom Treating Services
		<option value="Cutter Accessories">Cutter Accessories
		<option value="Cutters">Cutters
		<option value="Cutting Lines">Cutting Lines
		<option value="Data Acquisition Softwear">Data Acquisition Softwear
		<option value="Data Collection Equipment">Data Collection Equipment
		<option value="Design Engineering">Design Engineering
		<option value="Dipping Lines">Dipping Lines
		<option value="Direct Marking On Tires">Direct Marking On Tires
		<option value="Distributors">Distributors
		<option value="Downstream Equipment">Downstream Equipment
		<option value="Drives">Drives
		<option value="Dry Ice Cleaning Equipment">Dry Ice Cleaning Equipment
		<option value="Dynamic Balance Machines">Dynamic Balance Machines
		<option value="Dynamic Mechanical Analyzers">Dynamic Mechanical Analyzers
		<option value="Eclipse CIM's Software">Eclipse CIM's Software
		<option value="Elastomer Characterization Systems &
Software">Elastomer Characterization Systems & Software
		<option value="Elastomers">Elastomers
		<option value="Emulsions">Emulsions
		<option value="Encoders">Encoders
		<option value="Engineering Services">Engineering Services
		<option value="Ergonomics">Ergonomics
		<option value="Extruders">Extruders
		<option value="Extrusion Barrels">Extrusion Barrels
		<option value="Extrusion Heads">Extrusion Heads
		<option value="Extrusion Lines">Extrusion Lines
		<option value="Extrusion Screws">Extrusion Screws
		<option value="Extrusion Shape Profiling">Extrusion Shape Profiling
		<option value="Failure Analysis">Failure Analysis
		<option value="Feed Screws">Feed Screws
		<option value="Fillers">Fillers
		<option value="Forensic, Expert Witness">Forensic, Expert Witness
		<option value="Fuel Cells">Fuel Cells
		<option value="Green Tire Carts/Trucks">Green Tire Carts/Trucks
		<option value="Green Tire Loaders/Unloaders">Green Tire Loaders/Unloaders
		<option value="Guard Systems">Guard Systems
		<option value="Guidance Systems">Guidance Systems
		<option value="Gum Edgers">Gum Edgers
		<option value="High Temperature Materials">High Temperature Materials
		<option value="Hot Oil Systems">Hot Oil Systems
		<option value="Hot Water Systems">Hot Water Systems
		<option value="Hydraulic Direct Drives">Hydraulic Direct Drives
		<option value="In-Line Measurement Systems">In-Line Measurement Systems
		<option value="Inside Tire Lubes/Paints">Inside Tire Lubes/Paints
		<option value="Inspection Systems">Inspection Systems
		<option value="Insulated Blankets">Insulated Blankets
		<option value="Label Printers/Software/Dispensers">Label
Printers/Software/Dispensers
		<option value="Laser Guide Lights">Laser Guide Lights
		<option value="Laser Measurement Systems">Laser Measurement Systems
		<option value="Lasercut Parts">Lasercut Parts
		<option value="Light Truck TUO">Light Truck TUO
		<option value="Linear Motion Components">Linear Motion Components
		<option value="Linear Motion Systems">Linear Motion Systems
		<option value="Liquid Mold Rubber">Liquid Mold Rubber
		<option value="Loading Automation">Loading Automation
		<option value="Lubricants">Lubricants
		<option value="Machinery Rebuilding">Machinery Rebuilding
		<option value="Marking Equipment/Systems">Marking Equipment/Systems
		<option value="Material Complexing">Material Complexing
		<option value="Materials Handling Systems">Materials Handling Systems
		<option value="Materials Testing">Materials Testing
		<option value="Measurement Systems">Measurement Systems
		<option value="Mechanical Engineering">Mechanical Engineering
		<option value="Mechanical Power Components">Mechanical Power Components
		<option value="Micro Vents">Micro Vents
		<option value="Milling Machinery">Milling Machinery
		<option value="Mills">Mills
		<option value="Mixers">Mixers
		<option value="Modular Belting">Modular Belting
		<option value="Modular Plastic Conveyor Belts">Modular Plastic Conveyor Belts
		<option value="Mold Cleaning">Mold Cleaning
		<option value="Mold Containers">Mold Containers
		<option value="Molded Products">Molded Products
		<option value="Molds">Molds
		<option value="Molds-Cutting Dies">Molds-Cutting Dies
		<option value="Motion Control">Motion Control
		<option value="Non-contact Measurement Systems">Non-contact Measurement Systems
		<option value="Non-Contact Thickness Gauges">Non-Contact Thickness Gauges
		<option value="Nondestructive Testing Systems">Nondestructive Testing Systems
		<option value="Ozone Chambers & Monitors">Ozone Chambers & Monitors
		<option value="Parts for Tire Equipment">Parts for Tire Equipment
		<option value="Parts for Tire Equipment">Parts for Tire Equipment
		<option value="Permaseal Dies">Permaseal Dies
		<option value="Pillow Blocks">Pillow Blocks
		<option value="Pin Barrels">Pin Barrels
		<option value="Plastic Pallets">Plastic Pallets
		<option value="Plymaking Systems">Plymaking Systems
		<option value="Pneumatic/Hydraulic Parts">Pneumatic/Hydraulic Parts
		<option value="Polymers">Polymers
		<option value="Power Transmission Parts">Power Transmission Parts
		<option value="Preheating Equipment">Preheating Equipment
		<option value="Press Platen Insulation">Press Platen Insulation
		<option value="Presses">Presses
		<option value="Pressure Measurement Systems">Pressure Measurement Systems
		<option value="Process Analyzers">Process Analyzers
		<option value="Process Control Systems">Process Control Systems
		<option value="Processing Equipment">Processing Equipment
		<option value="Profile Measurement Systems">Profile Measurement Systems
		<option value="Protective Spray Systems">Protective Spray Systems
		<option value="Pumping Stations">Pumping Stations
		<option value="Quality Certification">Quality Certification
		<option value="Release Agents">Release Agents
		<option value="Release Coatings">Release Coatings
		<option value="Rheometers">Rheometers
		<option value="Roll Mills">Roll Mills
		<option value="Roller Heads">Roller Heads
		<option value="Roller Screw Actuators">Roller Screw Actuators
		<option value="Rollers">Rollers
		<option value="Rotary Joints">Rotary Joints
		<option value="Rotary Unions">Rotary Unions
		<option value="Rubber Testing Equipment">Rubber Testing Equipment
		<option value="Safety Chucks">Safety Chucks
		<option value="Safety Mats">Safety Mats
		<option value="SBR">SBR
		<option value="Self Lubricating Bearings">Self Lubricating Bearings
		<option value="Sensors">Sensors
		<option value="Serial Tins">Serial Tins
		<option value="Servo Motors">Servo Motors
		<option value="Sidewall Grinders">Sidewall Grinders
		<option value="Silica">Silica
		<option value="Sipes">Sipes
		<option value="Skivers">Skivers
		<option value="Slide Products">Slide Products
		<option value="Slitters">Slitters
		<option value="Speed Reducers">Speed Reducers
		<option value="Splicers">Splicers
		<option value="Spreaders">Spreaders
		<option value="Steel & Rubber Stamps">Steel & Rubber Stamps
		<option value="Steel Cord Creel Systems">Steel Cord Creel Systems
		<option value="Steel Cord Inspection">Steel Cord Inspection
		<option value="Strip-winding for Rubber">Strip-winding for Rubber
		<option value="Sub-contract Manufacturing">Sub-contract Manufacturing
		<option value="Swivel Joints">Swivel Joints
		<option value="Synthetic Rubber">Synthetic Rubber
		<option value="Syphons">Syphons
		<option value="System Integration">System Integration
		<option value="Technical Problem Solving">Technical Problem Solving
		<option value="Technical Support Services">Technical Support Services
		<option value="Temperature Control Units">Temperature Control Units
		<option value="Tension Control Systems">Tension Control Systems
		<option value="Testing Equipment">Testing Equipment
		<option value="Testing Services">Testing Services
		<option value="Textile & Steel Cutters/Splicers">Textile & Steel Cutters/Splicers
		<option value="Thermal Transfer Printers">Thermal Transfer Printers
		<option value="Tire Assembly Machine Bladders">Tire Assembly Machine Bladders
		<option value="Tire Assembly Machine Parts">Tire Assembly Machine Parts
		<option value="Tire Balancing">Tire Balancing
		<option value="Tire Bead Machinery/Measuring Machinery">Tire Bead
Machinery/Measuring Machinery
		<option value="Tire Building Equipment/Machinery">Tire Building
Equipment/Machinery
		<option value="Tire Impact Airbags">Tire Impact Airbags
		<option value="Tire Mold Engraving">Tire Mold Engraving
		<option value="Tire Mold Inserts">Tire Mold Inserts
		<option value="Tire Molds">Tire Molds
		<option value="Tire Palletizing Equipment">Tire Palletizing Equipment
		<option value="Tire Press Hose Assemblies">Tire Press Hose Assemblies
		<option value="Tire Presses">Tire Presses
		<option value="Tire Radial Run-out Machines">Tire Radial Run-out Machines
		<option value="Tire Testing">Tire Testing
		<option value="Tire Uniformity Enhancement">Tire Uniformity Enhancement
		<option value="Tire Uniformity Enhancement">Tire Uniformity Enhancement
		<option value="Tire Uniformity Machinery">Tire Uniformity Machinery
		<option value="Tire Wheel Assemblies">Tire Wheel Assemblies
		<option value="Trade Publications">Trade Publications
		<option value="Transformers">Transformers
		<option value="Tread Booking">Tread Booking
		<option value="Tread Skivers">Tread Skivers
		<option value="Truck Tire Apex Machinery">Truck Tire Apex Machinery
		<option value="TUO Loadwheel">TUO Loadwheel
		<option value="Ultrasonic Cutting">Ultrasonic Cutting
		<option value="V-Belt Equipment">V-Belt Equipment
		<option value="Valves">Valves
		<option value="Vent Trimmers">Vent Trimmers
		<option value="Vibration Control Center Training">Vibration Control
Center Training
		<option value="Weighing Systems">Weighing Systems
		<option value="Wheel Alignment">Wheel Alignment
		<option value="Wheel Testing">Wheel Testing
		<option value="Winders">Winders
		<option value="Winter Environmental Testing">Winter Environmental Testing
		<option value="Wire and Cable Equipment">Wire and Cable Equipment
		<option value="Wire Pre-Heaters">Wire Pre-Heaters
		<option value="X-Ray Testing Equipment">X-Ray Testing Equipment
		</select>
	</td>
</tr>

I hope this is of some help. Thanks for all your assistance!

Clarification of Answer by googleexpert-ga on 17 Dec 2003 12:32 PST
Please post the Full HTML Source.  I could not find any problems with
your Partial "Product" function.
By the way, can you tell me if your Form works in other Browsers?

Thanks.
-googleexpert

Request for Answer Clarification by catullus13-ga on 18 Dec 2003 04:54 PST
Here is the HTML source for the form page:

<html>
<head>
<title>Rubber News - ITEC 2004 Exhibitor Program</title>
</head>
<body bgcolor="#ffffff">
<font face="arial" size="2">
<CENTER>
<A HREF="http://www.rubbernews.com"><IMG SRC="/images/rtitle.gif"
BORDER=0 WIDTH=449 HEIGHT=69></
A>
<P>
<a href="index.html"><font face="arial" size="4"
color="#00309C"><b>ITEC 2004 Exhibitor Program</b></font></a>
<p>

<table border=2 cellpadding=10  width=600><tr valign="top" bgcolor="ffffff"><td>
<FONT FACE="verdana,arial,helvetica" COLOR="#00309C" SIZE="3"><b>EDIT
EXHIBITOR INFO</b></FONT>
<font face="arial" size="2"><center>

<script language="javascript">
<!--

function isValidPword (InString)  {
        RefString="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890";
        for (Count=0; Count < InString.length; Count++)  {
                TempChar= InString.substring (Count, Count+1);
                if (RefString.indexOf (TempChar, 0)==-1)  { return false;}
        }
        return (true);
}

function validate(){
	with(document.xform){
		Item = country.selectedIndex;
		if(display.options[1].selected){
			if(uname.value.length==0){
				alert("Please enter a user name");
                	        uname.focus();
        	                uname.select();
	                        return false;
			}
			if(!isValidPword(uname.value)){
				alert("User name can only contain alphanumeric characters\nNo
spaces or special characters are permitted");
                	        uname.focus();
        	                uname.select();
	                        return false;
			}
			if(pword.value.length==0){
				alert("Please enter a password");
                	        pword.focus();
        	                pword.select();
	                        return false;
			}
			if(!isValidPword(pword.value)){
				alert("Password can only contain alphanumeric characters\nNo
spaces or special characters are permitted");
                	        pword.focus();
        	                pword.select();
	                        return false;
			}
		}
		if (booth.value.length ==0){
			alert("Please enter your booth number");
			booth.focus();
			booth.select();
			return false;
		}
		if (company.value.length ==0){
			alert("Please enter your company's name");
			company.focus();
			company.select();
			return false;
		}
		if (addr1.value.length ==0){
			alert("Please enter your company's address");
			addr1.focus();
			addr1.select();
			return false;
		}
		if (city.value.length ==0){
			alert("Please enter your company's city");
			city.focus();
			city.select();
			return false;
		}
		if(state.options[0].selected && (country.options[Item].value=="USA"
|| country.options[Item].value=="CAN")){
			alert("Please select your company's state/province");
			state.focus();
			return false;
		}
		if (zip.value.length ==0 && (country.options[Item].value=="USA" ||
country.options[Item].value=="CAN")){
			alert("Please enter your company's zip/postal code");
			zip.focus();
			zip.select();
			return false;
		}
		if (phone.value.length ==0){
			alert("Please enter your company's phone number");
			phone.focus();
			phone.select();
			return false;
		}
		if (fax.value.length ==0){
			alert("Please enter your company's fax number");
			fax.focus();
			fax.select();
			return false;
		}
		if (contactname.value.length ==0){
			alert("Please enter your name");
			contactname.focus();
			contactname.select();
			return false;
		}
		if (contactemail.value.length ==0 || 
      		(contactemail.value.indexOf(",",0) >= 0) || 
      		(contactemail.value.indexOf(" ",0) >= 0) || 
      		(contactemail.value.indexOf("@",0) < 0) || 
       		(contactemail.value.indexOf(".",0) < 0)) {
    			alert("Please enter a valid e-mail address");
    			contactemail.focus();
    			contactemail.select();
    			return false;
		}


	}
}
//-->
</script>

<center>
<font color="#ff0000"><b>All Information is Required</b></font>

<form name="xform" enctype="multipart/form-data" action="update.html"
method="post" onSubmit="return validate();">
<input type="hidden" name="id" value="1071596900">
<input type="hidden" name="lastmod" value="1071751781">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000">

<table border="0">

<tr>
	<td><font face="arial" size="2">User Name:&nbsp;</td>
	<td><font face="arial"><input name="uname" value="" size="32" maxlength="32"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Password:&nbsp;</td>
	<td><font face="arial"><input name="pword" value="" size="32" maxlength="32"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Display:</font></td>
	<td><font face="arial" size="2"><select name="display">
		<option value="">No</option>
		<option value="1">Yes</option>
	</select></td>
</tr>
<tr>
	<td><font face="arial" size="2">Created:</font></td>
	<td><font face="arial" size="2">12/16/2003 12:48:20pm</font></td>
</tr>
<tr>
	<td><font face="arial" size="2">Last Modified:</font></td>
	<td><font face="arial" size="2">12/16/2003 12:47:56pm</font></td>
</tr>
<tr>
	<td><font face="arial" size="2">Booth Number:&nbsp;</td>
	<td><font face="arial"><input name="booth" value="b216" size="27"
maxlength="25"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Booth Dimensions:&nbsp;</td>
	<td><font face="arial"><input name="boothdim" value="10W x 20H"
size="27" maxlength="25" READONLY></td>
</tr>
<tr>
	<td><font face="arial" size="2">Company Name:&nbsp;</td>
	<td><font face="arial"><input name="company" value="A-Z Americas"
size="42" maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Address 1:&nbsp;</td>
	<td><font face="arial"><input name="addr1" value="1832 Akron
Pennisula Road" size="42" maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Address 2:&nbsp;</td>
	<td><font face="arial"><input name="addr2" value="" size="42"
maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">City:&nbsp;</td>
	<td><font face="arial"><input name="city" value="Akron" size="42"
maxlength="100"></td>
</tr>
<tr>
	<td><font face="arial" size="2">State:&nbsp;</td>
	<td><font face="arial" size="2"><select name="state">
		<option value="">
		<option value="AL">Alabama
		<option value="AK">Alaska
		<option value="AB">Alberta
		<option value="AZ">Arizona
		<option value="AR">Arkansas
		<option value="BC">British Columbia
		<option value="CA">California
		<option value="CO">Colorado
		<option value="CT">Connecticut
		<option value="DE">Delaware
		<option value="DC">District of Columbia
		<option value="FL">Florida
		<option value="GA">Georgia
		<option value="HI">Hawaii
		<option value="ID">Idaho
		<option value="IL">Illinois
		<option value="IN">Indiana
		<option value="IA">Iowa
		<option value="KS">Kansas
		<option value="KY">Kentucky
		<option value="LA">Louisiana
		<option value="ME">Maine
		<option value="MB">Manitoba
		<option value="MD">Maryland
		<option value="MA">Massachusetts
		<option value="MI">Michigan
		<option value="MN">Minnesota
		<option value="MS">Mississippi
		<option value="MO">Missouri
		<option value="MT">Montana
		<option value="NE">Nebraska
		<option value="NV">Nevada
		<option value="NB">New Brunswick
		<option value="NH">New Hampshire
		<option value="NJ">New Jersey
		<option value="NM">New Mexico
		<option value="NY">New York
		<option value="NF">Newfoundland
		<option value="NC">North Carolina
		<option value="ND">North Dakota
		<option value="NT">Northwest Territories
		<option value="NS">Nova Scotia
		<option value="NU">Nunavut
		<option value="OH" SELECTED>Ohio
		<option value="OK">Oklahoma
		<option value="ON">Ontario
		<option value="OR">Oregon
		<option value="PA">Pennsylvania
		<option value="PE">Prince Edward Island
		<option value="QC">Quebec
		<option value="RI">Rhode Island
		<option value="SK">Saskatchewan
		<option value="SC">South Carolina
		<option value="SD">South Dakota
		<option value="TN">Tennessee
		<option value="TX">Texas
		<option value="UT">Utah
		<option value="VT">Vermont
		<option value="VA">Virginia
		<option value="WA">Washington
		<option value="WV">West Virginia
		<option value="WI">Wisconsin
		<option value="WY">Wyoming
		<option value="YT">Yukon
		</select>
	</td>
</tr>
<tr>
	<td><font face="arial" size="2">Country:&nbsp;</td>
	<td><font face="arial" size="2"><select name="country">
		<option value="">
		<option value="AFG">Afghanistan
		<option value="ALB">Albania, People's Socialist Republic of
		<option value="DZA">Algeria, People's Democratic Republic of
		<option value="ASM">American Samoa
		<option value="AND">Andorra, Principality of
		<option value="AGO">Angola, Republic of
		<option value="AIA">Anguilla
		<option value="ATA">Antarctica (the territory South of 60 deg S)
		<option value="ATG">Antigua and Barbuda
		<option value="ARG">Argentina, Argentine Republic
		<option value="ARM">Armenia
		<option value="ABW">Aruba
		<option value="AUS">Australia, Commonwealth of
		<option value="AUT">Austria, Republic of
		<option value="AZE">Azerbaijan, Republic of
		<option value="BHS">Bahamas, Commonwealth of the
		<option value="BHR">Bahrain, Kingdom of
		<option value="BGD">Bangladesh, People's Republic of
		<option value="BRB">Barbados
		<option value="BLR">Belarus
		<option value="BEL">Belgium, Kingdom of
		<option value="BLZ">Belize
		<option value="BEN">Benin, People's Republic of
		<option value="BMU">Bermuda
		<option value="BTN">Bhutan, Kingdom of
		<option value="BOL">Bolivia, Republic of
		<option value="BIH">Bosnia and Herzegovina
		<option value="BWA">Botswana, Republic of
		<option value="BVT">Bouvet Island (Bouvetoya)
		<option value="BRA">Brazil, Federative Republic of
		<option value="IOT">British Indian Ocean Territory (Chagos Archipelago)
		<option value="VGB">British Virgin Islands
		<option value="BRN">Brunei Darussalam
		<option value="BGR">Bulgaria, People's Republic of
		<option value="BFA">Burkina Faso
		<option value="BDI">Burundi, Republic of
		<option value="KHM">Cambodia, Kingdom of
		<option value="CMR">Cameroon, United Republic of
		<option value="CAN">Canada
		<option value="CPV">Cape Verde, Republic of
		<option value="CYM">Cayman Islands
		<option value="CAF">Central African Republic
		<option value="TCD">Chad, Republic of
		<option value="CHL">Chile, Republic of
		<option value="CHN">China, People's Republic of
		<option value="CXR">Christmas Island
		<option value="CCK">Cocos (Keeling) Islands
		<option value="COL">Colombia, Republic of
		<option value="COM">Comoros, Federal and Islamic Republic of
		<option value="COD">Congo, Democratic Republic of
		<option value="COG">Congo, People's Republic of
		<option value="COK">Cook Islands
		<option value="CRI">Costa Rica, Republic of
		<option value="CIV">Cote D'Ivoire, Ivory Coast, Republic of the
		<option value="CUB">Cuba, Republic of
		<option value="CYP">Cyprus, Republic of
		<option value="CZE">Czech Republic
		<option value="DNK">Denmark, Kingdom of
		<option value="DJI">Djibouti, Republic of
		<option value="DMA">Dominica, Commonwealth of
		<option value="DOM">Dominican Republic
		<option value="TLS">East Timor, Democratic Republic of
		<option value="ECU">Ecuador, Republic of
		<option value="EGY">Egypt, Arab Republic of
		<option value="SLV">El Salvador, Republic of
		<option value="GNQ">Equatorial Guinea, Republic of
		<option value="ERI">Eritrea
		<option value="EST">Estonia
		<option value="ETH">Ethiopia
		<option value="FRO">Faeroe Islands
		<option value="FLK">Falkland Islands (Malvinas)
		<option value="FJI">Fiji, Republic of the Fiji Islands
		<option value="FIN">Finland, Republic of
		<option value="FRA">France, French Republic
		<option value="GUF">French Guiana
		<option value="PYF">French Polynesia
		<option value="ATF">French Southern Territories
		<option value="GAB">Gabon, Gabonese Republic
		<option value="GMB">Gambia, Republic of the
		<option value="GEO">Georgia
		<option value="DEU">Germany
		<option value="GHA">Ghana, Republic of
		<option value="GIB">Gibraltar
		<option value="GRC">Greece, Hellenic Republic
		<option value="GRL">Greenland
		<option value="GRD">Grenada
		<option value="GLP">Guadaloupe
		<option value="GUM">Guam
		<option value="GTM">Guatemala, Republic of
		<option value="GIN">Guinea, Revolutionary People's Rep'c of
		<option value="GNB">Guinea-Bissau, Republic of
		<option value="GUY">Guyana, Republic of
		<option value="HTI">Haiti, Republic of
		<option value="HMD">Heard and McDonald Islands
		<option value="VAT">Holy See (Vatican City State)
		<option value="HND">Honduras, Republic of
		<option value="HKG">Hong Kong, Special Administrative Region of China
		<option value="HRV">Hrvatska (Croatia)
		<option value="HUN">Hungary, Hungarian People's Republic
		<option value="ISL">Iceland, Republic of
		<option value="IND">India, Republic of
		<option value="IDN">Indonesia, Republic of
		<option value="IRN">Iran, Islamic Republic of
		<option value="IRQ">Iraq, Republic of
		<option value="IRL">Ireland
		<option value="ISR">Israel, State of
		<option value="ITA">Italy, Italian Republic
		<option value="JAM">Jamaica
		<option value="JPN">Japan
		<option value="JOR">Jordan, Hashemite Kingdom of
		<option value="KAZ">Kazakhstan, Republic of
		<option value="KEN">Kenya, Republic of
		<option value="KIR">Kiribati, Republic of
		<option value="PRK">Korea, Democratic People's Republic of
		<option value="KOR">Korea, Republic of
		<option value="KWT">Kuwait, State of
		<option value="KGZ">Kyrgyz Republic
		<option value="LAO">Lao People's Democratic Republic
		<option value="LVA">Latvia
		<option value="LBN">Lebanon, Lebanese Republic
		<option value="LSO">Lesotho, Kingdom of
		<option value="LBR">Liberia, Republic of
		<option value="LBY">Libyan Arab Jamahiriya
		<option value="LIE">Liechtenstein, Principality of
		<option value="LTU">Lithuania
		<option value="LUX">Luxembourg, Grand Duchy of
		<option value="MAC">Macao, Special Administrative Region of China
		<option value="MKD">Macedonia, the former Yugoslav Republic of
		<option value="MDG">Madagascar, Republic of
		<option value="MWI">Malawi, Republic of
		<option value="MYS">Malaysia
		<option value="MDV">Maldives, Republic of
		<option value="MLI">Mali, Republic of
		<option value="MLT">Malta, Republic of
		<option value="MHL">Marshall Islands
		<option value="MTQ">Martinique
		<option value="MRT">Mauritania, Islamic Republic of
		<option value="MUS">Mauritius
		<option value="MYT">Mayotte
		<option value="MEX">Mexico, United Mexican States
		<option value="FSM">Micronesia, Federated States of
		<option value="MDA">Moldova, Republic of
		<option value="MCO">Monaco, Principality of
		<option value="MNG">Mongolia, Mongolian People's Republic
		<option value="MSR">Montserrat
		<option value="MAR">Morocco, Kingdom of
		<option value="MOZ">Mozambique, People's Republic of
		<option value="MMR">Myanmar
		<option value="NAM">Namibia
		<option value="NRU">Nauru, Republic of
		<option value="NPL">Nepal, Kingdom of
		<option value="ANT">Netherlands Antilles
		<option value="NLD">Netherlands, Kingdom of the
		<option value="NCL">New Caledonia
		<option value="NZL">New Zealand
		<option value="NIC">Nicaragua, Republic of
		<option value="NER">Niger, Republic of the
		<option value="NGA">Nigeria, Federal Republic of
		<option value="NIU">Niue, Republic of
		<option value="NFK">Norfolk Island
		<option value="MNP">Northern Mariana Islands
		<option value="NOR">Norway, Kingdom of
		<option value="OMN">Oman, Sultanate of
		<option value="PAK">Pakistan, Islamic Republic of
		<option value="PLW">Palau
		<option value="PSE">Palestinian Territory, Occupied
		<option value="PAN">Panama, Republic of
		<option value="PNG">Papua New Guinea
		<option value="PRY">Paraguay, Republic of
		<option value="PER">Peru, Republic of
		<option value="PHL">Philippines, Republic of the
		<option value="PCN">Pitcairn Island
		<option value="POL">Poland, Polish People's Republic
		<option value="PRT">Portugal, Portuguese Republic
		<option value="PRI">Puerto Rico
		<option value="QAT">Qatar, State of
		<option value="REU">Reunion
		<option value="ROU">Romania, Republic of
		<option value="RUS">Russian Federation
		<option value="RWA">Rwanda, Rwandese Republic
		<option value="WSM">Samoa, Independent State of
		<option value="SMR">San Marino, Republic of
		<option value="STP">Sao Tome and Principe, Democratic Republic of
		<option value="SAU">Saudi Arabia, Kingdom of
		<option value="SEN">Senegal, Republic of
		<option value="SYC">Seychelles, Republic of
		<option value="SLE">Sierra Leone, Republic of
		<option value="SGP">Singapore, Republic of
		<option value="SVK">Slovakia (Slovak Republic)
		<option value="SVN">Slovenia
		<option value="SLB">Solomon Islands
		<option value="SOM">Somalia, Somali Republic
		<option value="ZAF">South Africa, Republic of
		<option value="SGS">South Georgia and the South Sandwich Islands
		<option value="ESP">Spain, Spanish State
		<option value="LKA">Sri Lanka, Democratic Socialist Republic of
		<option value="SHN">St. Helena
		<option value="KNA">St. Kitts and Nevis
		<option value="LCA">St. Lucia
		<option value="SPM">St. Pierre and Miquelon
		<option value="VCT">St. Vincent and the Grenadines
		<option value="SDN">Sudan, Democratic Republic of the
		<option value="SUR">Suriname, Republic of
		<option value="SJM">Svalbard & Jan Mayen Islands
		<option value="SWZ">Swaziland, Kingdom of
		<option value="SWE">Sweden, Kingdom of
		<option value="CHE">Switzerland, Swiss Confederation
		<option value="SYR">Syrian Arab Republic
		<option value="TWN">Taiwan, Province of China
		<option value="TJK">Tajikistan
		<option value="TZA">Tanzania, United Republic of
		<option value="THA">Thailand, Kingdom of
		<option value="TGO">Togo, Togolese Republic
		<option value="TKL">Tokelau (Tokelau Islands)
		<option value="TON">Tonga, Kingdom of
		<option value="TTO">Trinidad and Tobago, Republic of
		<option value="TUN">Tunisia, Republic of
		<option value="TUR">Turkey, Republic of
		<option value="TKM">Turkmenistan
		<option value="TCA">Turks and Caicos Islands
		<option value="TUV">Tuvalu
		<option value="UGA">Uganda, Republic of
		<option value="UKR">Ukraine
		<option value="ARE">United Arab Emirates
		<option value="GBR">United Kingdom of Great Britain & N. Ireland
		<option value="UMI">United States Minor Outlying Islands
		<option value="USA" SELECTED>United States of America
		<option value="URY">Uruguay, Eastern Republic of
		<option value="VIR">US Virgin Islands
		<option value="UZB">Uzbekistan
		<option value="VUT">Vanuatu
		<option value="VEN">Venezuela, Bolivarian Republic of
		<option value="VNM">Viet Nam, Socialist Republic of
		<option value="WLF">Wallis and Futuna Islands
		<option value="ESH">Western Sahara
		<option value="YEM">Yemen
		<option value="YUG">Yugoslavia, Socialist Federal Republic of
		<option value="ZMB">Zambia, Republic of
		<option value="ZWE">Zimbabwe
		</select>
	</td>
</tr>
<tr>
	<td><font face="arial" size="2">Zip/Postal Code:&nbsp;</td>
	<td><font face="arial"><input name="zip" value="44313" size="27"
maxlength="10"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Phone:&nbsp;</td>
	<td><font face="arial"><input name="phone" value="[1] 330-929-0815"
size="42" maxlength="50"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Fax:&nbsp;</td>
	<td><font face="arial"><input name="fax" value="[1] 330-929-3073"
size="42" maxlength="50"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Web Site:&nbsp;</td>
	<td><font face="arial"><input name="url"
value="http://www.a-zamericas.com" size="42" maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Contact Name:&nbsp;</td>
	<td><font face="arial"><input name="contactname" value="Barbara
Fetter" size="42" maxlength="100"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Contact E-mail:&nbsp;</td>
	<td><font face="arial"><input name="contactemail"
value="bfetter@a-zamericas.com" size="42" maxlength="100"></td>
</tr>
<tr>
	<td valign="top"><font face="arial" size="2">Product/Service
Category<br>(select as many as apply):&nbsp;</td>
	<td valign="bottom"><font face="arial" size="2"><select
name="product[]" size="5" multiple>
		<option value="3D Tire Concepts">3D Tire Concepts
		<option value="Accessories for Calender Material">Accessories for
Calender Material
		<option value="Actuators">Actuators
		<option value="Additives">Additives
		<option value="Adhesives">Adhesives
		<option value="After Sales Service">After Sales Service
		<option value="Automatic Bead Handling/Application
Systems">Automatic Bead Handling/Application Systems
		<option value="Automation Controls">Automation Controls
		<option value="Automotive Proving Grounds">Automotive Proving Grounds
		<option value="Ball Screws">Ball Screws
		<option value="Ball Splines">Ball Splines
		<option value="Band Builders">Band Builders
		<option value="Bar Code Labels/Scanners">Bar Code Labels/Scanners
		<option value="Batch-Offs">Batch-Offs
		<option value="Bead Apexing Machinery">Bead Apexing Machinery
		<option value="Bead Lubers">Bead Lubers
		<option value="Bead Machinery">Bead Machinery
		<option value="Bearings">Bearings
		<option value="Bellows">Bellows
		<option value="Bladder Curing Press">Bladder Curing Press
		<option value="Bladder Molds">Bladder Molds
		<option value="Bladder Turning Machines">Bladder Turning Machines
		<option value="Bladders">Bladders
		<option value="Bonded Mechanisms">Bonded Mechanisms
		<option value="Brakes">Brakes
		<option value="Bromobutyl">Bromobutyl
		<option value="Bus Network Products">Bus Network Products
		<option value="Bushings">Bushings
		<option value="Butyl">Butyl
		<option value="Calemard Slitting Machines">Calemard Slitting Machines
		<option value="Calendars">Calendars
		<option value="Calibration Service">Calibration Service
		<option value="Carbon Black">Carbon Black
		<option value="Chemicals">Chemicals
		<option value="Chillers">Chillers
		<option value="Chlorobutyl">Chlorobutyl
		<option value="Clutches">Clutches
		<option value="Coatings">Coatings
		<option value="Compound Development">Compound Development
		<option value="Condensate Handling Systems">Condensate Handling Systems
		<option value="Consulting Services">Consulting Services
		<option value="Containers">Containers
		<option value="Control Systems">Control Systems
		<option value="Conveying Systems">Conveying Systems
		<option value="Conveyor Belting">Conveyor Belting
		<option value="Cooling Towers">Cooling Towers
		<option value="Cordsets">Cordsets
		<option value="Couplings">Couplings
		<option value="Curing Bladders">Curing Bladders
		<option value="Curing Presses">Curing Presses
		<option value="Curing Systems">Curing Systems
		<option value="Custom Designed Insulting Blankets">Custom Designed
Insulting Blankets
		<option value="Custom Machining">Custom Machining
		<option value="Custom Packaging">Custom Packaging
		<option value="Custom Screw Designs">Custom Screw Designs
		<option value="Custom Treating Services">Custom Treating Services
		<option value="Cutter Accessories">Cutter Accessories
		<option value="Cutters">Cutters
		<option value="Cutting Lines">Cutting Lines
		<option value="Data Acquisition Softwear">Data Acquisition Softwear
		<option value="Data Collection Equipment">Data Collection Equipment
		<option value="Design Engineering">Design Engineering
		<option value="Dipping Lines">Dipping Lines
		<option value="Direct Marking On Tires">Direct Marking On Tires
		<option value="Distributors">Distributors
		<option value="Downstream Equipment">Downstream Equipment
		<option value="Drives">Drives
		<option value="Dry Ice Cleaning Equipment">Dry Ice Cleaning Equipment
		<option value="Dynamic Balance Machines">Dynamic Balance Machines
		<option value="Dynamic Mechanical Analyzers">Dynamic Mechanical Analyzers
		<option value="Eclipse CIM's Software">Eclipse CIM's Software
		<option value="Elastomer Characterization Systems &
Software">Elastomer Characterization Systems & Software
		<option value="Elastomers">Elastomers
		<option value="Emulsions">Emulsions
		<option value="Encoders">Encoders
		<option value="Engineering Services">Engineering Services
		<option value="Ergonomics">Ergonomics
		<option value="Extruders">Extruders
		<option value="Extrusion Barrels">Extrusion Barrels
		<option value="Extrusion Heads">Extrusion Heads
		<option value="Extrusion Lines">Extrusion Lines
		<option value="Extrusion Screws">Extrusion Screws
		<option value="Extrusion Shape Profiling">Extrusion Shape Profiling
		<option value="Failure Analysis">Failure Analysis
		<option value="Feed Screws">Feed Screws
		<option value="Fillers">Fillers
		<option value="Forensic, Expert Witness">Forensic, Expert Witness
		<option value="Fuel Cells">Fuel Cells
		<option value="Green Tire Carts/Trucks">Green Tire Carts/Trucks
		<option value="Green Tire Loaders/Unloaders">Green Tire Loaders/Unloaders
		<option value="Guard Systems">Guard Systems
		<option value="Guidance Systems">Guidance Systems
		<option value="Gum Edgers">Gum Edgers
		<option value="High Temperature Materials">High Temperature Materials
		<option value="Hot Oil Systems">Hot Oil Systems
		<option value="Hot Water Systems">Hot Water Systems
		<option value="Hydraulic Direct Drives">Hydraulic Direct Drives
		<option value="In-Line Measurement Systems">In-Line Measurement Systems
		<option value="Inside Tire Lubes/Paints">Inside Tire Lubes/Paints
		<option value="Inspection Systems">Inspection Systems
		<option value="Insulated Blankets">Insulated Blankets
		<option value="Label Printers/Software/Dispensers">Label
Printers/Software/Dispensers
		<option value="Laser Guide Lights">Laser Guide Lights
		<option value="Laser Measurement Systems">Laser Measurement Systems
		<option value="Lasercut Parts">Lasercut Parts
		<option value="Light Truck TUO">Light Truck TUO
		<option value="Linear Motion Components">Linear Motion Components
		<option value="Linear Motion Systems">Linear Motion Systems
		<option value="Liquid Mold Rubber">Liquid Mold Rubber
		<option value="Loading Automation">Loading Automation
		<option value="Lubricants">Lubricants
		<option value="Machinery Rebuilding">Machinery Rebuilding
		<option value="Marking Equipment/Systems">Marking Equipment/Systems
		<option value="Material Complexing">Material Complexing
		<option value="Materials Handling Systems">Materials Handling Systems
		<option value="Materials Testing">Materials Testing
		<option value="Measurement Systems">Measurement Systems
		<option value="Mechanical Engineering">Mechanical Engineering
		<option value="Mechanical Power Components">Mechanical Power Components
		<option value="Micro Vents">Micro Vents
		<option value="Milling Machinery">Milling Machinery
		<option value="Mills">Mills
		<option value="Mixers">Mixers
		<option value="Modular Belting">Modular Belting
		<option value="Modular Plastic Conveyor Belts">Modular Plastic Conveyor Belts
		<option value="Mold Cleaning">Mold Cleaning
		<option value="Mold Containers">Mold Containers
		<option value="Molded Products">Molded Products
		<option value="Molds">Molds
		<option value="Molds-Cutting Dies">Molds-Cutting Dies
		<option value="Motion Control">Motion Control
		<option value="Non-contact Measurement Systems">Non-contact Measurement Systems
		<option value="Non-Contact Thickness Gauges">Non-Contact Thickness Gauges
		<option value="Nondestructive Testing Systems">Nondestructive Testing Systems
		<option value="Ozone Chambers & Monitors">Ozone Chambers & Monitors
		<option value="Parts for Tire Equipment">Parts for Tire Equipment
		<option value="Parts for Tire Equipment">Parts for Tire Equipment
		<option value="Permaseal Dies">Permaseal Dies
		<option value="Pillow Blocks">Pillow Blocks
		<option value="Pin Barrels">Pin Barrels
		<option value="Plastic Pallets">Plastic Pallets
		<option value="Plymaking Systems">Plymaking Systems
		<option value="Pneumatic/Hydraulic Parts">Pneumatic/Hydraulic Parts
		<option value="Polymers">Polymers
		<option value="Power Transmission Parts">Power Transmission Parts
		<option value="Preheating Equipment">Preheating Equipment
		<option value="Press Platen Insulation">Press Platen Insulation
		<option value="Presses">Presses
		<option value="Pressure Measurement Systems">Pressure Measurement Systems
		<option value="Process Analyzers">Process Analyzers
		<option value="Process Control Systems">Process Control Systems
		<option value="Processing Equipment">Processing Equipment
		<option value="Profile Measurement Systems">Profile Measurement Systems
		<option value="Protective Spray Systems">Protective Spray Systems
		<option value="Pumping Stations">Pumping Stations
		<option value="Quality Certification">Quality Certification
		<option value="Release Agents">Release Agents
		<option value="Release Coatings">Release Coatings
		<option value="Rheometers">Rheometers
		<option value="Roll Mills">Roll Mills
		<option value="Roller Heads">Roller Heads
		<option value="Roller Screw Actuators">Roller Screw Actuators
		<option value="Rollers">Rollers
		<option value="Rotary Joints">Rotary Joints
		<option value="Rotary Unions">Rotary Unions
		<option value="Rubber Testing Equipment">Rubber Testing Equipment
		<option value="Safety Chucks">Safety Chucks
		<option value="Safety Mats">Safety Mats
		<option value="SBR">SBR
		<option value="Self Lubricating Bearings">Self Lubricating Bearings
		<option value="Sensors">Sensors
		<option value="Serial Tins">Serial Tins
		<option value="Servo Motors">Servo Motors
		<option value="Sidewall Grinders">Sidewall Grinders
		<option value="Silica">Silica
		<option value="Sipes">Sipes
		<option value="Skivers">Skivers
		<option value="Slide Products">Slide Products
		<option value="Slitters">Slitters
		<option value="Speed Reducers">Speed Reducers
		<option value="Splicers">Splicers
		<option value="Spreaders">Spreaders
		<option value="Steel & Rubber Stamps">Steel & Rubber Stamps
		<option value="Steel Cord Creel Systems">Steel Cord Creel Systems
		<option value="Steel Cord Inspection">Steel Cord Inspection
		<option value="Strip-winding for Rubber">Strip-winding for Rubber
		<option value="Sub-contract Manufacturing">Sub-contract Manufacturing
		<option value="Swivel Joints">Swivel Joints
		<option value="Synthetic Rubber">Synthetic Rubber
		<option value="Syphons">Syphons
		<option value="System Integration">System Integration
		<option value="Technical Problem Solving">Technical Problem Solving
		<option value="Technical Support Services">Technical Support Services
		<option value="Temperature Control Units">Temperature Control Units
		<option value="Tension Control Systems">Tension Control Systems
		<option value="Testing Equipment">Testing Equipment
		<option value="Testing Services">Testing Services
		<option value="Textile & Steel Cutters/Splicers">Textile & Steel Cutters/Splicers
		<option value="Thermal Transfer Printers">Thermal Transfer Printers
		<option value="Tire Assembly Machine Bladders">Tire Assembly Machine Bladders
		<option value="Tire Assembly Machine Parts">Tire Assembly Machine Parts
		<option value="Tire Balancing">Tire Balancing
		<option value="Tire Bead Machinery/Measuring Machinery">Tire Bead
Machinery/Measuring Machinery
		<option value="Tire Building Equipment/Machinery">Tire Building
Equipment/Machinery
		<option value="Tire Impact Airbags">Tire Impact Airbags
		<option value="Tire Mold Engraving">Tire Mold Engraving
		<option value="Tire Mold Inserts">Tire Mold Inserts
		<option value="Tire Molds">Tire Molds
		<option value="Tire Palletizing Equipment">Tire Palletizing Equipment
		<option value="Tire Press Hose Assemblies">Tire Press Hose Assemblies
		<option value="Tire Presses">Tire Presses
		<option value="Tire Radial Run-out Machines">Tire Radial Run-out Machines
		<option value="Tire Testing">Tire Testing
		<option value="Tire Uniformity Enhancement">Tire Uniformity Enhancement
		<option value="Tire Uniformity Enhancement">Tire Uniformity Enhancement
		<option value="Tire Uniformity Machinery">Tire Uniformity Machinery
		<option value="Tire Wheel Assemblies">Tire Wheel Assemblies
		<option value="Trade Publications">Trade Publications
		<option value="Transformers">Transformers
		<option value="Tread Booking">Tread Booking
		<option value="Tread Skivers">Tread Skivers
		<option value="Truck Tire Apex Machinery">Truck Tire Apex Machinery
		<option value="TUO Loadwheel">TUO Loadwheel
		<option value="Ultrasonic Cutting">Ultrasonic Cutting
		<option value="V-Belt Equipment">V-Belt Equipment
		<option value="Valves">Valves
		<option value="Vent Trimmers">Vent Trimmers
		<option value="Vibration Control Center Training">Vibration Control
Center Training
		<option value="Weighing Systems">Weighing Systems
		<option value="Wheel Alignment">Wheel Alignment
		<option value="Wheel Testing">Wheel Testing
		<option value="Winders">Winders
		<option value="Winter Environmental Testing">Winter Environmental Testing
		<option value="Wire and Cable Equipment">Wire and Cable Equipment
		<option value="Wire Pre-Heaters">Wire Pre-Heaters
		<option value="X-Ray Testing Equipment">X-Ray Testing Equipment
		</select>
	</td>
</tr>
	

<tr>
	<td colspan="2">&nbsp;<br><font face="arial" size="2"><b><u>Special
Offer Copy</u></b> (please limit to 50 words)<br>
	<textarea name="offer" rows="10" cols="50" wrap="virtual"></textarea>
	</td>
</tr>
<tr>
	<td colspan="2">&nbsp;<br><font face="arial" size="2"><b><u>Upload a
File:</u></b><br>To upload a file, please click on "Browse..." and
select a file to upload. Only one upload per exhibitor is
allowed.</font></td></tr>
<tr>
	<td colspan="2"><font face="arial" size="2"><b>File to
Upload:</b></font>&nbsp;<input type="file" name="sentfile" size="40">
</td>
</tr>		
</table>
<p>
<input type="submit" value="Submit">

</form>
</center>

</td></tr>
</table>
<p>
</td></tr>
</table>
<p>
<a href="javascript:history.go(-1)">Back</a>
<p>
<center>
<table cellspacing="0" cellpadding="2" border="1"
background=""><tr><td bgcolor="#ffffff">
<A HREF="http://www.cmg.net" target="_blank">
<img src="/images/built_by_cmg.gif" alt="Creative Media Group, Inc."
border="0"></a>
</td></tr></table>
</center>
</center>
</body>
</html>

And here is the code that builds the form page:

<? INCLUDE "$DOCUMENT_ROOT/inc/itecjs.inc"; ?>

<center>
<font color="#ff0000"><b>All Information is Required</b></font>

<form name="xform" enctype="multipart/form-data" action="<? echo
$XACTION; ?>" method="post" onSubmit="return validate();">
<input type="hidden" name="id" value="<? echo $id; ?>">
<input type="hidden" name="lastmod" value="<? echo time(); ?>">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000">
<? if($XADMIN && $uname): ?>
<input type="hidden" name="olduname" value="<? echo $uname; ?>">
<input type="hidden" name="oldpword" value="<? echo $pword; ?>">
<? endif; ?>

<table border="0">

<?
if($XADMIN){
	xFormRow("User Name","uname","$uname","32","15");
	xFormRow("Password","pword","$pword","32","15");
	echo "<tr>\n";
	echo "\t<td><font face=\"arial\" size=\"2\">Display:</font></td>\n";
	echo "\t<td><font face=\"arial\" size=\"2\"><select name=\"display\">\n";
	echo "\t\t<option value=\"\">No</option>\n";
	echo "\t\t<option value=\"1\""; if($display){ echo " SELECTED"; }
echo ">Yes</option>\n";
	echo "\t</select></td>\n";
	echo "</tr>\n";
}
if($id)	{
	echo "<tr>\n\t<td><font face=\"arial\" size=\"2\">Created:</font></td>\n";
	echo "\t<td><font face=\"arial\" size=\"2\">" . date("m/d/Y h:i:sa",
$id) . "</font></td>\n";
	echo "</tr>\n";
}
if($lastmod)	{
	echo "<tr>\n\t<td><font face=\"arial\" size=\"2\">Last Modified:</font></td>\n";
	echo "\t<td><font face=\"arial\" size=\"2\">$lastmod</font></td>\n";
	echo "</tr>\n";
}
if($lastmail)	{
	echo "<tr>\n\t<td><font face=\"arial\" size=\"2\">Last E-mail
Sent:</font></td>\n";
	echo "\t<td><font face=\"arial\" size=\"2\">$lastmail</font></td>\n";
	echo "</tr>\n";
}
xFormRow("Booth Number","booth","$booth","25","10");
xFormRowBoothDim("Booth Dimensions","boothdim","$boothdim","25","10");
xFormRow("Company Name","company","$company","","");
//xFormRow("Booth Image Number","boothimg","$boothimg","","");
xFormRow("Address 1","addr1","$addr1","","");
xFormRow("Address 2","addr2","$addr2","","");
xFormRow("City","city","$city","100","");
xStateSelect($state);
xCountrySelect($country);
xFormRow("Zip/Postal Code","zip","$zip","10","10");
xFormRow("Phone","phone","$phone","50","");
xFormRow("Fax","fax","$fax","50","");
xFormRow("Web Site","url","$url","","");
$esize	= 34;
if($IE)	{ $esize += 23; }
//echo "<tr>\n";
//echo "\t<td colspan=\"2\"><font face=\"arial\" size=\"2\">E-mail
address for receiving on-line inquiries:</font><br>\n";
//echo "\t<font face=\"arial\"><input name=\"email\"
value=\"$contactemail\" size=\"$esize\" maxlength=\"100\"></td>\n";
//echo "</tr>\n";
xFormRow("Contact Name","contactname","$contactname","100","");
xFormRow("Contact E-mail","contactemail","$contactemail","100","");
xProductSelect($id);
?>	

<tr>
	<td colspan="2">&nbsp;<br><font face="arial" size="2"><b><u>Special
Offer Copy</u></b> (please limit to 50 words)<br>
	<textarea name="offer" rows="10" cols="50" wrap="virtual"><? echo
$offer; ?></textarea>
	</td>
</tr>
<tr>
	<td colspan="2">&nbsp;<br><font face="arial" size="2"><b><u>Upload a
File:</u></b><br>To upload a file, please click on "Browse..." and
select a file to upload. Only one upload per exhibitor is
allowed.</font></td></tr>
<tr>
	<td colspan="2"><font face="arial" size="2"><b>File to
Upload:</b></font>&nbsp;<input type="file" name="sentfile" size="40">
<?
if($pdf){
	echo "<br>\n";
	echo "<font face=\"arial\" size=\"2\"><b>Current File:</b> $pdf</font>\n";
}
?>
</td>
</tr>		
</table>
<p>
<input type="submit" value="Submit">

</form>
</center>

Let me know if you need anything else. Thanks a lot for all your help.

Clarification of Answer by googleexpert-ga on 18 Dec 2003 06:34 PST
Hi again,
I have tried to debug your JavaScript function and it could be the way
it was formatted but some comments are not comments, you have this:
action="update.html"
in your form for some reason, instead of "update.php" or some other script.
 
So far, it seems like the problem is with "country.selectedIndex",
some variable I was not aware of before.  Also, I have looked for the
function I posted or some variant of it but could not find it.

If I have not answered your question from the start, please let me know.

Request for Answer Clarification by catullus13-ga on 18 Dec 2003 07:36 PST
I apologize. I had the Javascript validation code you gave me
commented out so that it didn't appear in the HTML source code. Here
is the source code with it back in again:

<html>
<head>
<title>Rubber News - ITEC 2004 Exhibitor Program</title>
</head>
<body bgcolor="#ffffff">
<font face="arial" size="2">
<CENTER>
<A HREF="http://www.rubbernews.com"><IMG SRC="/images/rtitle.gif"
BORDER=0 WIDTH=449 HEIGHT=69></
A>
<P>
<a href="index.html"><font face="arial" size="4"
color="#00309C"><b>ITEC 2004 Exhibitor Program</b></font></a>
<p>

<table border=2 cellpadding=10  width=600><tr valign="top" bgcolor="ffffff"><td>
<FONT FACE="verdana,arial,helvetica" COLOR="#00309C" SIZE="3"><b>EDIT
EXHIBITOR INFO</b></FONT>
<font face="arial" size="2"><center>

<script language="javascript">
<!--

function isValidPword (InString)  {
        RefString="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890";
        for (Count=0; Count < InString.length; Count++)  {
                TempChar= InString.substring (Count, Count+1);
                if (RefString.indexOf (TempChar, 0)==-1)  { return false;}
        }
        return (true);
}

function validate(){
	with(document.xform){
		Item = country.selectedIndex;
		if(display.options[1].selected){
			if(uname.value.length==0){
				alert("Please enter a user name");
                	        uname.focus();
        	                uname.select();
	                        return false;
			}
			if(!isValidPword(uname.value)){
				alert("User name can only contain alphanumeric characters\nNo
spaces or special characters are permitted");
                	        uname.focus();
        	                uname.select();
	                        return false;
			}
			if(pword.value.length==0){
				alert("Please enter a password");
                	        pword.focus();
        	                pword.select();
	                        return false;
			}
			if(!isValidPword(pword.value)){
				alert("Password can only contain alphanumeric characters\nNo
spaces or special characters are permitted");
                	        pword.focus();
        	                pword.select();
	                        return false;
			}
		}
		if (booth.value.length ==0){
			alert("Please enter your booth number");
			booth.focus();
			booth.select();
			return false;
		}
		if (company.value.length ==0){
			alert("Please enter your company's name");
			company.focus();
			company.select();
			return false;
		}
		if (addr1.value.length ==0){
			alert("Please enter your company's address");
			addr1.focus();
			addr1.select();
			return false;
		}
		if (city.value.length ==0){
			alert("Please enter your company's city");
			city.focus();
			city.select();
			return false;
		}
		if(state.options[0].selected && (country.options[Item].value=="USA"
|| country.options[Item].value=="CAN")){
			alert("Please select your company's state/province");
			state.focus();
			return false;
		}
		if (zip.value.length ==0 && (country.options[Item].value=="USA" ||
country.options[Item].value=="CAN")){
			alert("Please enter your company's zip/postal code");
			zip.focus();
			zip.select();
			return false;
		}
		if (phone.value.length ==0){
			alert("Please enter your company's phone number");
			phone.focus();
			phone.select();
			return false;
		}
		if (fax.value.length ==0){
			alert("Please enter your company's fax number");
			fax.focus();
			fax.select();
			return false;
		}
		if (contactname.value.length ==0){
			alert("Please enter your name");
			contactname.focus();
			contactname.select();
			return false;
		}
		if (contactemail.value.length ==0 || 
      		(contactemail.value.indexOf(",",0) >= 0) || 
      		(contactemail.value.indexOf(" ",0) >= 0) || 
      		(contactemail.value.indexOf("@",0) < 0) || 
       		(contactemail.value.indexOf(".",0) < 0)) {
    			alert("Please enter a valid e-mail address");
    			contactemail.focus();
    			contactemail.select();
    			return false;
		}

		var length = document.xform.elements['product[]'].length;
		var selected = false;
		for(var i = 0; i < length; i++)
		{
		 if(document.xform.elements['product[]'].options[i].selected)
		 {
			selected = true;
		 }
		}
		if(!selected)
		 {	
			alert("Please select a product/service category.");	
			xform.action = "";
		 }

	}
}
//-->
</script>

<center>
<font color="#ff0000"><b>All Information is Required</b></font>

<form name="xform" enctype="multipart/form-data" action="update.html"
method="post" onSubmit="return validate();">
<input type="hidden" name="id" value="1071689741">
<input type="hidden" name="lastmod" value="1071761602">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000">
<input type="hidden" name="olduname" value="zzz">
<input type="hidden" name="oldpword" value="zzz">

<table border="0">

<tr>
	<td><font face="arial" size="2">User Name:&nbsp;</td>
	<td><font face="arial"><input name="uname" value="zzz" size="32"
maxlength="32"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Password:&nbsp;</td>
	<td><font face="arial"><input name="pword" value="zzz" size="32"
maxlength="32"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Display:</font></td>
	<td><font face="arial" size="2"><select name="display">
		<option value="">No</option>
		<option value="1">Yes</option>
	</select></td>
</tr>
<tr>
	<td><font face="arial" size="2">Created:</font></td>
	<td><font face="arial" size="2">12/17/2003 02:35:41pm</font></td>
</tr>
<tr>
	<td><font face="arial" size="2">Last Modified:</font></td>
	<td><font face="arial" size="2">12/17/2003 03:23:21pm</font></td>
</tr>
<tr>
	<td><font face="arial" size="2">Booth Number:&nbsp;</td>
	<td><font face="arial"><input name="booth" value="zz" size="27"
maxlength="25"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Booth Dimensions:&nbsp;</td>
	<td><font face="arial"><input name="boothdim" value="" size="27"
maxlength="25" READONLY></td>
</tr>
<tr>
	<td><font face="arial" size="2">Company Name:&nbsp;</td>
	<td><font face="arial"><input name="company" value="zz" size="42"
maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Address 1:&nbsp;</td>
	<td><font face="arial"><input name="addr1" value="zz" size="42"
maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Address 2:&nbsp;</td>
	<td><font face="arial"><input name="addr2" value="zz" size="42"
maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">City:&nbsp;</td>
	<td><font face="arial"><input name="city" value="zz" size="42"
maxlength="100"></td>
</tr>
<tr>
	<td><font face="arial" size="2">State:&nbsp;</td>
	<td><font face="arial" size="2"><select name="state">
		<option value="">
		<option value="AL">Alabama
		<option value="AK">Alaska
		<option value="AB">Alberta
		<option value="AZ">Arizona
		<option value="AR">Arkansas
		<option value="BC">British Columbia
		<option value="CA">California
		<option value="CO">Colorado
		<option value="CT">Connecticut
		<option value="DE">Delaware
		<option value="DC">District of Columbia
		<option value="FL">Florida
		<option value="GA">Georgia
		<option value="HI">Hawaii
		<option value="ID">Idaho
		<option value="IL">Illinois
		<option value="IN">Indiana
		<option value="IA">Iowa
		<option value="KS">Kansas
		<option value="KY">Kentucky
		<option value="LA">Louisiana
		<option value="ME">Maine
		<option value="MB">Manitoba
		<option value="MD">Maryland
		<option value="MA">Massachusetts
		<option value="MI">Michigan
		<option value="MN">Minnesota
		<option value="MS">Mississippi
		<option value="MO">Missouri
		<option value="MT">Montana
		<option value="NE">Nebraska
		<option value="NV">Nevada
		<option value="NB">New Brunswick
		<option value="NH">New Hampshire
		<option value="NJ">New Jersey
		<option value="NM">New Mexico
		<option value="NY">New York
		<option value="NF">Newfoundland
		<option value="NC">North Carolina
		<option value="ND">North Dakota
		<option value="NT">Northwest Territories
		<option value="NS">Nova Scotia
		<option value="NU">Nunavut
		<option value="OH">Ohio
		<option value="OK">Oklahoma
		<option value="ON">Ontario
		<option value="OR">Oregon
		<option value="PA">Pennsylvania
		<option value="PE">Prince Edward Island
		<option value="QC">Quebec
		<option value="RI">Rhode Island
		<option value="SK">Saskatchewan
		<option value="SC">South Carolina
		<option value="SD">South Dakota
		<option value="TN">Tennessee
		<option value="TX">Texas
		<option value="UT">Utah
		<option value="VT">Vermont
		<option value="VA">Virginia
		<option value="WA" SELECTED>Washington
		<option value="WV">West Virginia
		<option value="WI">Wisconsin
		<option value="WY">Wyoming
		<option value="YT">Yukon
		</select>
	</td>
</tr>
<tr>
	<td><font face="arial" size="2">Country:&nbsp;</td>
	<td><font face="arial" size="2"><select name="country">
		<option value="">
		<option value="AFG">Afghanistan
		<option value="ALB">Albania, People's Socialist Republic of
		<option value="DZA">Algeria, People's Democratic Republic of
		<option value="ASM">American Samoa
		<option value="AND">Andorra, Principality of
		<option value="AGO">Angola, Republic of
		<option value="AIA">Anguilla
		<option value="ATA">Antarctica (the territory South of 60 deg S)
		<option value="ATG">Antigua and Barbuda
		<option value="ARG">Argentina, Argentine Republic
		<option value="ARM">Armenia
		<option value="ABW">Aruba
		<option value="AUS">Australia, Commonwealth of
		<option value="AUT">Austria, Republic of
		<option value="AZE">Azerbaijan, Republic of
		<option value="BHS">Bahamas, Commonwealth of the
		<option value="BHR">Bahrain, Kingdom of
		<option value="BGD">Bangladesh, People's Republic of
		<option value="BRB">Barbados
		<option value="BLR">Belarus
		<option value="BEL">Belgium, Kingdom of
		<option value="BLZ">Belize
		<option value="BEN">Benin, People's Republic of
		<option value="BMU">Bermuda
		<option value="BTN">Bhutan, Kingdom of
		<option value="BOL">Bolivia, Republic of
		<option value="BIH">Bosnia and Herzegovina
		<option value="BWA">Botswana, Republic of
		<option value="BVT">Bouvet Island (Bouvetoya)
		<option value="BRA">Brazil, Federative Republic of
		<option value="IOT">British Indian Ocean Territory (Chagos Archipelago)
		<option value="VGB">British Virgin Islands
		<option value="BRN">Brunei Darussalam
		<option value="BGR">Bulgaria, People's Republic of
		<option value="BFA">Burkina Faso
		<option value="BDI">Burundi, Republic of
		<option value="KHM">Cambodia, Kingdom of
		<option value="CMR">Cameroon, United Republic of
		<option value="CAN">Canada
		<option value="CPV">Cape Verde, Republic of
		<option value="CYM">Cayman Islands
		<option value="CAF">Central African Republic
		<option value="TCD">Chad, Republic of
		<option value="CHL">Chile, Republic of
		<option value="CHN">China, People's Republic of
		<option value="CXR">Christmas Island
		<option value="CCK">Cocos (Keeling) Islands
		<option value="COL">Colombia, Republic of
		<option value="COM">Comoros, Federal and Islamic Republic of
		<option value="COD">Congo, Democratic Republic of
		<option value="COG">Congo, People's Republic of
		<option value="COK">Cook Islands
		<option value="CRI">Costa Rica, Republic of
		<option value="CIV">Cote D'Ivoire, Ivory Coast, Republic of the
		<option value="CUB">Cuba, Republic of
		<option value="CYP">Cyprus, Republic of
		<option value="CZE">Czech Republic
		<option value="DNK">Denmark, Kingdom of
		<option value="DJI">Djibouti, Republic of
		<option value="DMA">Dominica, Commonwealth of
		<option value="DOM">Dominican Republic
		<option value="TLS">East Timor, Democratic Republic of
		<option value="ECU">Ecuador, Republic of
		<option value="EGY">Egypt, Arab Republic of
		<option value="SLV">El Salvador, Republic of
		<option value="GNQ">Equatorial Guinea, Republic of
		<option value="ERI">Eritrea
		<option value="EST">Estonia
		<option value="ETH">Ethiopia
		<option value="FRO">Faeroe Islands
		<option value="FLK">Falkland Islands (Malvinas)
		<option value="FJI">Fiji, Republic of the Fiji Islands
		<option value="FIN">Finland, Republic of
		<option value="FRA">France, French Republic
		<option value="GUF">French Guiana
		<option value="PYF">French Polynesia
		<option value="ATF">French Southern Territories
		<option value="GAB">Gabon, Gabonese Republic
		<option value="GMB">Gambia, Republic of the
		<option value="GEO">Georgia
		<option value="DEU">Germany
		<option value="GHA">Ghana, Republic of
		<option value="GIB">Gibraltar
		<option value="GRC">Greece, Hellenic Republic
		<option value="GRL">Greenland
		<option value="GRD">Grenada
		<option value="GLP">Guadaloupe
		<option value="GUM">Guam
		<option value="GTM">Guatemala, Republic of
		<option value="GIN">Guinea, Revolutionary People's Rep'c of
		<option value="GNB">Guinea-Bissau, Republic of
		<option value="GUY">Guyana, Republic of
		<option value="HTI">Haiti, Republic of
		<option value="HMD">Heard and McDonald Islands
		<option value="VAT">Holy See (Vatican City State)
		<option value="HND">Honduras, Republic of
		<option value="HKG">Hong Kong, Special Administrative Region of China
		<option value="HRV">Hrvatska (Croatia)
		<option value="HUN">Hungary, Hungarian People's Republic
		<option value="ISL">Iceland, Republic of
		<option value="IND">India, Republic of
		<option value="IDN">Indonesia, Republic of
		<option value="IRN">Iran, Islamic Republic of
		<option value="IRQ">Iraq, Republic of
		<option value="IRL">Ireland
		<option value="ISR">Israel, State of
		<option value="ITA">Italy, Italian Republic
		<option value="JAM">Jamaica
		<option value="JPN">Japan
		<option value="JOR">Jordan, Hashemite Kingdom of
		<option value="KAZ">Kazakhstan, Republic of
		<option value="KEN">Kenya, Republic of
		<option value="KIR">Kiribati, Republic of
		<option value="PRK">Korea, Democratic People's Republic of
		<option value="KOR">Korea, Republic of
		<option value="KWT">Kuwait, State of
		<option value="KGZ">Kyrgyz Republic
		<option value="LAO">Lao People's Democratic Republic
		<option value="LVA">Latvia
		<option value="LBN">Lebanon, Lebanese Republic
		<option value="LSO">Lesotho, Kingdom of
		<option value="LBR">Liberia, Republic of
		<option value="LBY">Libyan Arab Jamahiriya
		<option value="LIE">Liechtenstein, Principality of
		<option value="LTU">Lithuania
		<option value="LUX">Luxembourg, Grand Duchy of
		<option value="MAC">Macao, Special Administrative Region of China
		<option value="MKD">Macedonia, the former Yugoslav Republic of
		<option value="MDG">Madagascar, Republic of
		<option value="MWI">Malawi, Republic of
		<option value="MYS">Malaysia
		<option value="MDV">Maldives, Republic of
		<option value="MLI">Mali, Republic of
		<option value="MLT">Malta, Republic of
		<option value="MHL">Marshall Islands
		<option value="MTQ">Martinique
		<option value="MRT">Mauritania, Islamic Republic of
		<option value="MUS">Mauritius
		<option value="MYT">Mayotte
		<option value="MEX">Mexico, United Mexican States
		<option value="FSM">Micronesia, Federated States of
		<option value="MDA">Moldova, Republic of
		<option value="MCO">Monaco, Principality of
		<option value="MNG">Mongolia, Mongolian People's Republic
		<option value="MSR">Montserrat
		<option value="MAR">Morocco, Kingdom of
		<option value="MOZ">Mozambique, People's Republic of
		<option value="MMR">Myanmar
		<option value="NAM">Namibia
		<option value="NRU">Nauru, Republic of
		<option value="NPL">Nepal, Kingdom of
		<option value="ANT">Netherlands Antilles
		<option value="NLD">Netherlands, Kingdom of the
		<option value="NCL">New Caledonia
		<option value="NZL">New Zealand
		<option value="NIC">Nicaragua, Republic of
		<option value="NER">Niger, Republic of the
		<option value="NGA">Nigeria, Federal Republic of
		<option value="NIU">Niue, Republic of
		<option value="NFK">Norfolk Island
		<option value="MNP">Northern Mariana Islands
		<option value="NOR">Norway, Kingdom of
		<option value="OMN">Oman, Sultanate of
		<option value="PAK">Pakistan, Islamic Republic of
		<option value="PLW">Palau
		<option value="PSE">Palestinian Territory, Occupied
		<option value="PAN">Panama, Republic of
		<option value="PNG">Papua New Guinea
		<option value="PRY">Paraguay, Republic of
		<option value="PER">Peru, Republic of
		<option value="PHL">Philippines, Republic of the
		<option value="PCN">Pitcairn Island
		<option value="POL">Poland, Polish People's Republic
		<option value="PRT">Portugal, Portuguese Republic
		<option value="PRI">Puerto Rico
		<option value="QAT">Qatar, State of
		<option value="REU">Reunion
		<option value="ROU">Romania, Republic of
		<option value="RUS">Russian Federation
		<option value="RWA">Rwanda, Rwandese Republic
		<option value="WSM">Samoa, Independent State of
		<option value="SMR">San Marino, Republic of
		<option value="STP">Sao Tome and Principe, Democratic Republic of
		<option value="SAU">Saudi Arabia, Kingdom of
		<option value="SEN">Senegal, Republic of
		<option value="SYC">Seychelles, Republic of
		<option value="SLE">Sierra Leone, Republic of
		<option value="SGP">Singapore, Republic of
		<option value="SVK">Slovakia (Slovak Republic)
		<option value="SVN">Slovenia
		<option value="SLB">Solomon Islands
		<option value="SOM">Somalia, Somali Republic
		<option value="ZAF">South Africa, Republic of
		<option value="SGS">South Georgia and the South Sandwich Islands
		<option value="ESP">Spain, Spanish State
		<option value="LKA">Sri Lanka, Democratic Socialist Republic of
		<option value="SHN">St. Helena
		<option value="KNA">St. Kitts and Nevis
		<option value="LCA">St. Lucia
		<option value="SPM">St. Pierre and Miquelon
		<option value="VCT">St. Vincent and the Grenadines
		<option value="SDN">Sudan, Democratic Republic of the
		<option value="SUR">Suriname, Republic of
		<option value="SJM">Svalbard & Jan Mayen Islands
		<option value="SWZ">Swaziland, Kingdom of
		<option value="SWE">Sweden, Kingdom of
		<option value="CHE">Switzerland, Swiss Confederation
		<option value="SYR">Syrian Arab Republic
		<option value="TWN">Taiwan, Province of China
		<option value="TJK">Tajikistan
		<option value="TZA">Tanzania, United Republic of
		<option value="THA">Thailand, Kingdom of
		<option value="TGO">Togo, Togolese Republic
		<option value="TKL">Tokelau (Tokelau Islands)
		<option value="TON">Tonga, Kingdom of
		<option value="TTO">Trinidad and Tobago, Republic of
		<option value="TUN">Tunisia, Republic of
		<option value="TUR">Turkey, Republic of
		<option value="TKM">Turkmenistan
		<option value="TCA">Turks and Caicos Islands
		<option value="TUV">Tuvalu
		<option value="UGA">Uganda, Republic of
		<option value="UKR">Ukraine
		<option value="ARE">United Arab Emirates
		<option value="GBR">United Kingdom of Great Britain & N. Ireland
		<option value="UMI">United States Minor Outlying Islands
		<option value="USA" SELECTED>United States of America
		<option value="URY">Uruguay, Eastern Republic of
		<option value="VIR">US Virgin Islands
		<option value="UZB">Uzbekistan
		<option value="VUT">Vanuatu
		<option value="VEN">Venezuela, Bolivarian Republic of
		<option value="VNM">Viet Nam, Socialist Republic of
		<option value="WLF">Wallis and Futuna Islands
		<option value="ESH">Western Sahara
		<option value="YEM">Yemen
		<option value="YUG">Yugoslavia, Socialist Federal Republic of
		<option value="ZMB">Zambia, Republic of
		<option value="ZWE">Zimbabwe
		</select>
	</td>
</tr>
<tr>
	<td><font face="arial" size="2">Zip/Postal Code:&nbsp;</td>
	<td><font face="arial"><input name="zip" value="zz" size="27" maxlength="10"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Phone:&nbsp;</td>
	<td><font face="arial"><input name="phone" value="zz" size="42"
maxlength="50"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Fax:&nbsp;</td>
	<td><font face="arial"><input name="fax" value="zz" size="42" maxlength="50"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Web Site:&nbsp;</td>
	<td><font face="arial"><input name="url" value="zz" size="42"
maxlength="255"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Contact Name:&nbsp;</td>
	<td><font face="arial"><input name="contactname" value="Alan Torrise"
size="42" maxlength="100"></td>
</tr>
<tr>
	<td><font face="arial" size="2">Contact E-mail:&nbsp;</td>
	<td><font face="arial"><input name="contactemail"
value="atorrise@cmg.net" size="42" maxlength="100"></td>
</tr>
<tr>
	<td valign="top"><font face="arial" size="2">Product/Service
Category<br>(select as many as apply):&nbsp;</td>
	<td valign="bottom"><font face="arial" size="2"><select
name="product[]" size="5" multiple>
		<option value="3D Tire Concepts">3D Tire Concepts
		<option value="Accessories for Calender Material">Accessories for
Calender Material
		<option value="Actuators">Actuators
		<option value="Additives">Additives
		<option value="Adhesives">Adhesives
		<option value="After Sales Service">After Sales Service
		<option value="Automatic Bead Handling/Application
Systems">Automatic Bead Handling/Application Systems
		<option value="Automation Controls">Automation Controls
		<option value="Automotive Proving Grounds">Automotive Proving Grounds
		<option value="Ball Screws">Ball Screws
		<option value="Ball Splines">Ball Splines
		<option value="Band Builders">Band Builders
		<option value="Bar Code Labels/Scanners">Bar Code Labels/Scanners
		<option value="Batch-Offs" SELECTED>Batch-Offs
		<option value="Bead Apexing Machinery">Bead Apexing Machinery
		<option value="Bead Lubers">Bead Lubers
		<option value="Bead Machinery">Bead Machinery
		<option value="Bearings">Bearings
		<option value="Bellows">Bellows
		<option value="Bladder Curing Press">Bladder Curing Press
		<option value="Bladder Molds">Bladder Molds
		<option value="Bladder Turning Machines">Bladder Turning Machines
		<option value="Bladders">Bladders
		<option value="Bonded Mechanisms">Bonded Mechanisms
		<option value="Brakes">Brakes
		<option value="Bromobutyl">Bromobutyl
		<option value="Bus Network Products">Bus Network Products
		<option value="Bushings">Bushings
		<option value="Butyl">Butyl
		<option value="Calemard Slitting Machines">Calemard Slitting Machines
		<option value="Calendars">Calendars
		<option value="Calibration Service">Calibration Service
		<option value="Carbon Black">Carbon Black
		<option value="Chemicals">Chemicals
		<option value="Chillers">Chillers
		<option value="Chlorobutyl">Chlorobutyl
		<option value="Clutches">Clutches
		<option value="Coatings">Coatings
		<option value="Compound Development">Compound Development
		<option value="Condensate Handling Systems">Condensate Handling Systems
		<option value="Consulting Services">Consulting Services
		<option value="Containers">Containers
		<option value="Control Systems">Control Systems
		<option value="Conveying Systems">Conveying Systems
		<option value="Conveyor Belting">Conveyor Belting
		<option value="Cooling Towers">Cooling Towers
		<option value="Cordsets">Cordsets
		<option value="Couplings">Couplings
		<option value="Curing Bladders">Curing Bladders
		<option value="Curing Presses">Curing Presses
		<option value="Curing Systems">Curing Systems
		<option value="Custom Designed Insulting Blankets">Custom Designed
Insulting Blankets
		<option value="Custom Machining">Custom Machining
		<option value="Custom Packaging">Custom Packaging
		<option value="Custom Screw Designs">Custom Screw Designs
		<option value="Custom Treating Services">Custom Treating Services
		<option value="Cutter Accessories">Cutter Accessories
		<option value="Cutters">Cutters
		<option value="Cutting Lines">Cutting Lines
		<option value="Data Acquisition Softwear">Data Acquisition Softwear
		<option value="Data Collection Equipment">Data Collection Equipment
		<option value="Design Engineering">Design Engineering
		<option value="Dipping Lines">Dipping Lines
		<option value="Direct Marking On Tires">Direct Marking On Tires
		<option value="Distributors">Distributors
		<option value="Downstream Equipment">Downstream Equipment
		<option value="Drives">Drives
		<option value="Dry Ice Cleaning Equipment">Dry Ice Cleaning Equipment
		<option value="Dynamic Balance Machines">Dynamic Balance Machines
		<option value="Dynamic Mechanical Analyzers">Dynamic Mechanical Analyzers
		<option value="Eclipse CIM's Software">Eclipse CIM's Software
		<option value="Elastomer Characterization Systems &
Software">Elastomer Characterization Systems & Software
		<option value="Elastomers">Elastomers
		<option value="Emulsions">Emulsions
		<option value="Encoders">Encoders
		<option value="Engineering Services">Engineering Services
		<option value="Ergonomics">Ergonomics
		<option value="Extruders">Extruders
		<option value="Extrusion Barrels">Extrusion Barrels
		<option value="Extrusion Heads">Extrusion Heads
		<option value="Extrusion Lines">Extrusion Lines
		<option value="Extrusion Screws">Extrusion Screws
		<option value="Extrusion Shape Profiling">Extrusion Shape Profiling
		<option value="Failure Analysis">Failure Analysis
		<option value="Feed Screws">Feed Screws
		<option value="Fillers">Fillers
		<option value="Forensic, Expert Witness">Forensic, Expert Witness
		<option value="Fuel Cells">Fuel Cells
		<option value="Green Tire Carts/Trucks">Green Tire Carts/Trucks
		<option value="Green Tire Loaders/Unloaders">Green Tire Loaders/Unloaders
		<option value="Guard Systems">Guard Systems
		<option value="Guidance Systems">Guidance Systems
		<option value="Gum Edgers">Gum Edgers
		<option value="High Temperature Materials">High Temperature Materials
		<option value="Hot Oil Systems">Hot Oil Systems
		<option value="Hot Water Systems">Hot Water Systems
		<option value="Hydraulic Direct Drives">Hydraulic Direct Drives
		<option value="In-Line Measurement Systems">In-Line Measurement Systems
		<option value="Inside Tire Lubes/Paints">Inside Tire Lubes/Paints
		<option value="Inspection Systems">Inspection Systems
		<option value="Insulated Blankets">Insulated Blankets
		<option value="Label Printers/Software/Dispensers">Label
Printers/Software/Dispensers
		<option value="Laser Guide Lights">Laser Guide Lights
		<option value="Laser Measurement Systems">Laser Measurement Systems
		<option value="Lasercut Parts">Lasercut Parts
		<option value="Light Truck TUO">Light Truck TUO
		<option value="Linear Motion Components">Linear Motion Components
		<option value="Linear Motion Systems">Linear Motion Systems
		<option value="Liquid Mold Rubber">Liquid Mold Rubber
		<option value="Loading Automation">Loading Automation
		<option value="Lubricants">Lubricants
		<option value="Machinery Rebuilding">Machinery Rebuilding
		<option value="Marking Equipment/Systems">Marking Equipment/Systems
		<option value="Material Complexing">Material Complexing
		<option value="Materials Handling Systems">Materials Handling Systems
		<option value="Materials Testing">Materials Testing
		<option value="Measurement Systems">Measurement Systems
		<option value="Mechanical Engineering">Mechanical Engineering
		<option value="Mechanical Power Components">Mechanical Power Components
		<option value="Micro Vents">Micro Vents
		<option value="Milling Machinery">Milling Machinery
		<option value="Mills">Mills
		<option value="Mixers">Mixers
		<option value="Modular Belting">Modular Belting
		<option value="Modular Plastic Conveyor Belts">Modular Plastic Conveyor Belts
		<option value="Mold Cleaning">Mold Cleaning
		<option value="Mold Containers">Mold Containers
		<option value="Molded Products">Molded Products
		<option value="Molds">Molds
		<option value="Molds-Cutting Dies">Molds-Cutting Dies
		<option value="Motion Control">Motion Control
		<option value="Non-contact Measurement Systems">Non-contact Measurement Systems
		<option value="Non-Contact Thickness Gauges">Non-Contact Thickness Gauges
		<option value="Nondestructive Testing Systems">Nondestructive Testing Systems
		<option value="Ozone Chambers & Monitors">Ozone Chambers & Monitors
		<option value="Parts for Tire Equipment">Parts for Tire Equipment
		<option value="Parts for Tire Equipment">Parts for Tire Equipment
		<option value="Permaseal Dies">Permaseal Dies
		<option value="Pillow Blocks">Pillow Blocks
		<option value="Pin Barrels">Pin Barrels
		<option value="Plastic Pallets">Plastic Pallets
		<option value="Plymaking Systems">Plymaking Systems
		<option value="Pneumatic/Hydraulic Parts">Pneumatic/Hydraulic Parts
		<option value="Polymers">Polymers
		<option value="Power Transmission Parts">Power Transmission Parts
		<option value="Preheating Equipment">Preheating Equipment
		<option value="Press Platen Insulation">Press Platen Insulation
		<option value="Presses">Presses
		<option value="Pressure Measurement Systems">Pressure Measurement Systems
		<option value="Process Analyzers">Process Analyzers
		<option value="Process Control Systems">Process Control Systems
		<option value="Processing Equipment">Processing Equipment
		<option value="Profile Measurement Systems">Profile Measurement Systems
		<option value="Protective Spray Systems">Protective Spray Systems
		<option value="Pumping Stations">Pumping Stations
		<option value="Quality Certification">Quality Certification
		<option value="Release Agents">Release Agents
		<option value="Release Coatings">Release Coatings
		<option value="Rheometers">Rheometers
		<option value="Roll Mills">Roll Mills
		<option value="Roller Heads">Roller Heads
		<option value="Roller Screw Actuators">Roller Screw Actuators
		<option value="Rollers">Rollers
		<option value="Rotary Joints">Rotary Joints
		<option value="Rotary Unions">Rotary Unions
		<option value="Rubber Testing Equipment">Rubber Testing Equipment
		<option value="Safety Chucks">Safety Chucks
		<option value="Safety Mats">Safety Mats
		<option value="SBR">SBR
		<option value="Self Lubricating Bearings">Self Lubricating Bearings
		<option value="Sensors">Sensors
		<option value="Serial Tins">Serial Tins
		<option value="Servo Motors">Servo Motors
		<option value="Sidewall Grinders">Sidewall Grinders
		<option value="Silica">Silica
		<option value="Sipes">Sipes
		<option value="Skivers">Skivers
		<option value="Slide Products">Slide Products
		<option value="Slitters">Slitters
		<option value="Speed Reducers">Speed Reducers
		<option value="Splicers">Splicers
		<option value="Spreaders">Spreaders
		<option value="Steel & Rubber Stamps">Steel & Rubber Stamps
		<option value="Steel Cord Creel Systems">Steel Cord Creel Systems
		<option value="Steel Cord Inspection">Steel Cord Inspection
		<option value="Strip-winding for Rubber">Strip-winding for Rubber
		<option value="Sub-contract Manufacturing">Sub-contract Manufacturing
		<option value="Swivel Joints">Swivel Joints
		<option value="Synthetic Rubber">Synthetic Rubber
		<option value="Syphons">Syphons
		<option value="System Integration">System Integration
		<option value="Technical Problem Solving">Technical Problem Solving
		<option value="Technical Support Services">Technical Support Services
		<option value="Temperature Control Units">Temperature Control Units
		<option value="Tension Control Systems">Tension Control Systems
		<option value="Testing Equipment">Testing Equipment
		<option value="Testing Services">Testing Services
		<option value="Textile & Steel Cutters/Splicers">Textile & Steel Cutters/Splicers
		<option value="Thermal Transfer Printers">Thermal Transfer Printers
		<option value="Tire Assembly Machine Bladders">Tire Assembly Machine Bladders
		<option value="Tire Assembly Machine Parts">Tire Assembly Machine Parts
		<option value="Tire Balancing">Tire Balancing
		<option value="Tire Bead Machinery/Measuring Machinery">Tire Bead
Machinery/Measuring Machinery
		<option value="Tire Building Equipment/Machinery">Tire Building
Equipment/Machinery
		<option value="Tire Impact Airbags">Tire Impact Airbags
		<option value="Tire Mold Engraving">Tire Mold Engraving
		<option value="Tire Mold Inserts">Tire Mold Inserts
		<option value="Tire Molds">Tire Molds
		<option value="Tire Palletizing Equipment">Tire Palletizing Equipment
		<option value="Tire Press Hose Assemblies">Tire Press Hose Assemblies
		<option value="Tire Presses">Tire Presses
		<option value="Tire Radial Run-out Machines">Tire Radial Run-out Machines
		<option value="Tire Testing">Tire Testing
		<option value="Tire Uniformity Enhancement">Tire Uniformity Enhancement
		<option value="Tire Uniformity Enhancement">Tire Uniformity Enhancement
		<option value="Tire Uniformity Machinery">Tire Uniformity Machinery
		<option value="Tire Wheel Assemblies">Tire Wheel Assemblies
		<option value="Trade Publications">Trade Publications
		<option value="Transformers">Transformers
		<option value="Tread Booking">Tread Booking
		<option value="Tread Skivers">Tread Skivers
		<option value="Truck Tire Apex Machinery">Truck Tire Apex Machinery
		<option value="TUO Loadwheel">TUO Loadwheel
		<option value="Ultrasonic Cutting">Ultrasonic Cutting
		<option value="V-Belt Equipment">V-Belt Equipment
		<option value="Valves">Valves
		<option value="Vent Trimmers">Vent Trimmers
		<option value="Vibration Control Center Training">Vibration Control
Center Training
		<option value="Weighing Systems">Weighing Systems
		<option value="Wheel Alignment">Wheel Alignment
		<option value="Wheel Testing">Wheel Testing
		<option value="Winders">Winders
		<option value="Winter Environmental Testing">Winter Environmental Testing
		<option value="Wire and Cable Equipment">Wire and Cable Equipment
		<option value="Wire Pre-Heaters">Wire Pre-Heaters
		<option value="X-Ray Testing Equipment">X-Ray Testing Equipment
		</select>
	</td>
</tr>
	

<tr>
	<td colspan="2">&nbsp;<br><font face="arial" size="2"><b><u>Special
Offer Copy</u></b> (please limit to 50 words)<br>
	<textarea name="offer" rows="10" cols="50" wrap="virtual">this is
second test of Public</textarea>
	</td>
</tr>
<tr>
	<td colspan="2">&nbsp;<br><font face="arial" size="2"><b><u>Upload a
File:</u></b><br>To upload a file, please click on "Browse..." and
select a file to upload. Only one upload per exhibitor is
allowed.</font></td></tr>
<tr>
	<td colspan="2"><font face="arial" size="2"><b>File to
Upload:</b></font>&nbsp;<input type="file" name="sentfile" size="40">
<br>
<font face="arial" size="2"><b>Current File:</b> arburg.html</font>
</td>
</tr>		
</table>
<p>
<input type="submit" value="Submit">

</form>
</center>

</td></tr>
</table>
<p>
</td></tr>
</table>
<p>
<a href="javascript:history.go(-1)">Back</a>
<p>
<center>
<table cellspacing="0" cellpadding="2" border="1"
background=""><tr><td bgcolor="#ffffff">
<A HREF="http://www.cmg.net" target="_blank">
<img src="/images/built_by_cmg.gif" alt="Creative Media Group, Inc."
border="0"></a>
</td></tr></table>
</center>
</center>
</body>
</html>

I didn't know it made a difference if the processing page for this
form was .html or .php. If you need anything else, let me know.
Thanks.

Clarification of Answer by googleexpert-ga on 18 Dec 2003 09:56 PST
Hi,
I'm sorry this has taken so long to fix.
I now have it working on my end although that isn't a guarantee it
will work on yours.

Please look for the following blocks of code and change as necessary:
1st Code Block:
function validate(){
CHANGE TO -->:
function validate(sel){

2nd Code Block:
D - Delete
A - Add
D                var length = document.xforms.elements['product[]'].length;

D                for(var i = 0; i < length; i++)
A                for(var i = 0; i < sel.length; i++)

D      if(document.xform.elements['product[]'].options[i].selected)
A                if(sel[i].selected)



3rd Code Block:
<form name="xform" enctype="multipart/form-data" action="update.html"
method="post" onSubmit="return validate();">
CHANGE TO -->: 
<form name="xform" enctype="multipart/form-data" action="update.html"
method="post" onSubmit="return validate(this);">

By the way, for the Form action url, it should be update.php, or
something like update.cgi, or update.pl that can process Form
Variables.


As always, please let me know if the above changes works for you.
Thanks.

Request for Answer Clarification by catullus13-ga on 18 Dec 2003 10:38 PST
THAT'S IT!!! IT WORKS!!! I can't thank you enough. I truly appreciate
the effort you put into this.

Clarification of Answer by googleexpert-ga on 18 Dec 2003 14:16 PST
Hi,
Thank you for the Generous Tip and remark.
I saw the other question you posted for me and I'm sorry I didn't fix it.
I fixed the problem by changing the following:

D - Delete
A - Add

A      if(document.xform.elements['product[]'].options[i].selected)
D                if(sel[i].selected)

For all Option Values for the Product List, remove any "SELECTED" References.
From
                <option value="Batch-Offs" SELECTED>Batch-Offs
To -->
                <option value="Batch-Offs">Batch-Offs


Also, the HTML Source you posted is different than the one you posted
in Question ID# 288385 with "SELECTED" appearing with different values
at random,
Just to be safe, please make sure in your PHP Source that you are not
outputting "SELECTED" at random before testing the new Form.

Thank you.
catullus13-ga rated this answer:5 out of 5 stars and gave an additional tip of: $5.00
A genius programmer! This researcher put in a great deal of time and
effort to come up with the correct solution. My thanks!

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy