MichaelKThomas
asked on
Dreamweaver form validation fields not working and form submits without any fields entered.
I have javascript forms built in Dreamweaver. The forms work well except for the fields with form validation. You can leave the fields empty and the error message doesn't come up for the validated fields, and the form will submit without any fields entered.
What am I missing here?
What am I missing here?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<html><!-- InstanceBegin template="/Templates/selec t3.dwt" codeOutsideHTMLIsLocked="f alse" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Select P.O.S. & Peripherals, LLC.</title>
<!-- InstanceEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Wed Feb 02 17:45:51 GMT-0600 (Central Standard Time) 2005-->
<link href="SelectPOS.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #0C2F83}
body {
margin-left: 100px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url();
background-color: #003366;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
a:link {
color: #0C2F83;
}
a:visited {
color: #CC0033;
}
a:hover {
color: #339933;
}
a:active {
color: #3300FF;
}
.style6 {font-size: 9pt}
.style8 {color: #FFFFFF}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max, errors='', args=MM_va lidateForm .arguments ;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!= -1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
}
//-->
</script>
<!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,win Name,featu res) { //v2.0
window.open(theURL,winName ,features) ;
}
//-->
</script>
<meta name="keywords" content="POS, Point of Sale Equipement, Used, Repair Service, Touch Screen, IBM, NCR, PAR, Micros, Epson, Printer, Depot, Exchange, Third Party, OEM, Restaurant, Hospitality, Kiosk, ATM, Minneapols, Minnesota, Tom Fischer, Select POS & Peripherals, LLC, Reconditioned, New POS equipement">
<meta name="description" content="Select POS provides maintenance and repair solutions tailored to fill the gaps
in your equipment maintenance process. We offer new and reconditioned equipment. We also purchase and remarket used POS equipment.">
</head>
<body>
<table width="800" border="0" bgcolor="#FFFFFF" summary="This is table structure for the website template
">
<caption>
</caption>
<tr>
<th colspan="8" bgcolor="#0C2F83" scope="col"> </th>
</tr>
<tr>
<th width="50" rowspan="2" scope="row"> </th>
<td width="305" rowspan="2" align="left" valign="top"><img src="images/logo2.jpg" alt="Select POS" width="198" height="69" border="0" usemap="#home"></td>
<td colspan="6" align="right" valign="top"><img src="images/navbar.jpg" alt="Navigation" width="373" height="12" border="0" usemap="#products"></td>
</tr>
<tr>
<td height="39" colspan="6"> </td>
</tr>
<tr align="left" valign="top">
<td height="17" colspan="8" bgcolor="#0C2F83" scope="row">
<p align="center"><span class="SelectPOS"><span class="style6"><strong>Sel ect P.O.S. & Peripherals, LLC.<span class="style2">xx</span> 5239 Edina Industrial Blvd. <span class="style2">xx</span>Ed ina, MN 55439 <span class="style2">xx</span>To ll Free 1.866.559.3500</strong></s pan></span ></p>
</td>
</tr>
<tr>
<th scope="row"> </th>
<td> </td>
<td width="84"> </td>
<td width="66"> </td>
<td width="77"> </td>
<td width="14"> </td>
<td width="160" align="left" valign="top"> </td>
<td width="18" align="left" valign="top"> </td>
</tr>
<tr>
<th scope="row"><table width="50" border="0">
<tr>
<th scope="col"> </th>
</tr>
</table></th>
<td colspan="4" align="left" valign="top" class="header"><!-- InstanceBeginEditable name="Header" --><span class="header">RMA Form Request</span><!-- InstanceEndEditable --></td>
<td width="14" rowspan="2" align="left" valign="top" background="images/vertlin e.jpg">&nb sp;</td>
<td rowspan="2" align="left" valign="top">
<table width="156" border="0" align="right">
<tr>
<th width="150" height="90" align="left" valign="top" class="sidebar" scope="col">
<p><span class="dockv2"><a href="images/sellsheet.pdf "><img src="images/sellbutton.jpg " alt="Sell Sheet" width="150" height="34" border="0" usemap="#Map"></a><span class="unnamed1"><font size="1"><br>
With free <a href="http://www.adobe.com/products/acrobat/adobepdf.html">Acrobat Reader® software,</a> you can view and print Adobe PDF files.</font></span></span >
<map name="Map">
<area shape="rect" coords="3,1,153,33" href="images/sellsheet.pdf ">
</map>
</p>
</th>
</tr>
<tr>
<td align="left" valign="top" class="sidebar" scope="row"><a href="rma.htm"><img src="images/RMA.jpg" alt="RMA" width="150" height="34" border="0" usemap="#Map2"></a></td>
</tr>
<tr>
<td width="150" align="left" valign="top" class="sidebar" scope="row"><strong>Partne rs and supported brands include:</strong></td>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.partech.com/PTI/rest-front.cfm','Par','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/par.jpg" width="95" height="31" border="0"></a></th>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.pc.ibm.com/store/','IBM','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/ibm.jpg" width="95" height="41" border="0"></a></th>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.ncr.com/','NCR','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/ncr.jpg" width="95" height="42" border="0"></a></th>
</tr>
<tr>
<th height="35" align="left" valign="middle" scope="row"><a href="#" onClick="MM_openBrWindow(' http://www.mircos.com','','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/micros_logo.gi f" alt="Micros" width="71" height="20" hspace="12" vspace="0" border="0"></a></th>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.pos.epson.com/posindex.htm','Epson','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/epson.jpg" width="95" height="35" border="0"></a></th>
</tr>
<tr>
<th align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.symbol.com/','Symbol','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/symbol.jpg" width="95" height="36" border="0"></a></th>
</tr>
<tr>
<td width="150" height="107" align="left" valign="top" bgcolor="#018091" scope="row">
<div align="center"><a href="#" onClick="MM_openBrWindow(' http://www.rspassn.org','','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/logo_in_an_ova _glowl_sma ll.jpg" alt="RSPA" width="150" height="81" hspace="0" vspace="0" border="0"></a><br>
<span class="SelectPOS"><strong> RSPA Member </strong></span> </div>
</td>
</tr>
</table>
</td>
<td rowspan="2" align="left" valign="top"> </td>
</tr>
<tr>
<th height="43" align="left" valign="top"> </th>
<td colspan="4" align="left" valign="top" class="body">
<p></p>
<!-- InstanceBeginEditable name="Body" -->
<p>Please complete information below. Your unique RMA number is displayed at the top of this form. Please use this number when communicating with Select POS about your repair. Upon completion of this form, an automated email will be sent to you confirming your RMA information. Thank you!</p>
<form name="Request" method="post" action="rma2.asp">
<table width="557" border="0" cellpadding="2" cellspacing="2" bgcolor="#E1E0DB">
<tr>
<td width="156" height="33" align="left" valign="top" class="body">
<p> <strong>Date:</strong>
<input name="sDate" type="text" id="sDate" size="12">
</td>
<td width="387" height="33" align="left" valign="top" class="body"><strong><stro ng><strong >RMA#</str ong>
<input type=text name=mySuperId value="">
<script type="text/javascript">
var d = new Date()
var myID = d.getDate()+""+d.getMonth( ) + 1+""+d.getFullYear()+""+d. getHours() +""+d.getM inutes()+" "+d.getSec onds();
document.forms[0].mySuperI d.value=my ID;
</script>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>Compa ny Name:</strong>
<input name="sCompany" type="text" id="sCompany" size="71">
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">Street Address:
<input name="sStreet" type="text" id="sStreet" size="72">
</span> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">City:
<input name="sCity" type="text" id="sCity" size="31">
State:
<select name="sState" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip: </span>
<input name="sZip" type="text" id="sZip" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="top" class="body">
<p><b>Ship to Address:</b>
<input name="sShipto" type="checkbox" id="sShipto" value="Yes" checked>
same as Billing Address</p>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body">
<p class="unnamed1">Street Address:
<input name="sStreetship" type="text" id="sStreetship" size="72">
</p>
</td>
</tr>
<tr>
<td height="28" colspan="2" align="left" valign="top" class="body"> City:
<input name="sCityship" type="text" id="sCityship" size="31">
State: <select name="sStateship" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip:
<input name="sZipship" type="text" id="sZipship" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="bottom" class="body"><strong>Conta ct Name*:</strong>
<input name="sContactname" type="text" id="sContactname" onBlur="MM_validateForm('s Contactnam e','','R') ;return document.MM_returnValue" size="55">
<span class="copyright"> (*required fields)</span>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="bottom" class="body"><span class="unnamed1"><strong>P hone Number*:</strong>
<input name="sPhone" type="text" id="sPhone" onBlur="MM_validateForm('s Phone','', 'R');retur n document.MM_returnValue" size="18">
<strong> Email Address*: </strong>
<input name="sEmail" type="text" id="sEmail" onBlur="MM_validateForm('s Email','', 'R');retur n document.MM_returnValue" size="30">
</span></td>
</tr>
<tr>
<td colspan="2" class="body"><strong>Item being shipped for repair:</strong>
<input name="sItems" type="text" id="sItems" size="55">
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" class="body"><strong>Comme nts:</stro ng></td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>
<textarea name="sComments" cols="74" rows="2" id="sComments"></textarea>
</strong> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top">
<input name="sSubmit" type="submit" id="sSubmit" value="Submit">
<input name="sReset" type="reset" id="sReset" value="Reset">
</td>
</tr>
</table>
</form>
<!-- InstanceEndEditable --></p>
</td>
</tr>
<tr>
<td height="5" colspan="8" align="left" valign="top" nowrap > </td>
</tr>
<tr bgcolor="#003366">
<th height="21" bgcolor="#FFFFFF" > </th>
<td colspan="7" align="left" valign="top" bgcolor="#FFFFFF" class="copyright style8"><span class="copyright">© Copyright 2005, Select P.O.S. & Peripherals, LLC. All rights reserved. For more information, contact us at 1.866.559.3500 or email </span><a href="mailto:information@s electpos.c om?subject =Informati on%20Reque st">inform ation@sele ctpos.com< /a></td>
</tr>
</table>
<map name="home" id="home">
<area shape="rect" coords="0,1,189,67" href="index.html">
</map>
<map name="products" id="products">
<area shape="rect" coords="329,0,375,11" href="index.html">
<area shape="rect" coords="251,0,321,16" href="contact.htm">
<area shape="rect" coords="134,0,240,13" href="about.htm">
<area shape="rect" coords="67,0,125,10" href="services.htm">
<area shape="rect" coords="0,0,57,13" href="products.htm">
</map>
<map name="Map2">
<area shape="rect" coords="1,2,150,39" href="rma.htm">
</map>
</body>
<!-- InstanceEnd --></html>
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Select P.O.S. & Peripherals, LLC.</title>
<!-- InstanceEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Wed Feb 02 17:45:51 GMT-0600 (Central Standard Time) 2005-->
<link href="SelectPOS.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #0C2F83}
body {
margin-left: 100px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url();
background-color: #003366;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
a:link {
color: #0C2F83;
}
a:visited {
color: #CC0033;
}
a:hover {
color: #339933;
}
a:active {
color: #3300FF;
}
.style6 {font-size: 9pt}
.style8 {color: #FFFFFF}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
}
//-->
</script>
<!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,win
window.open(theURL,winName
}
//-->
</script>
<meta name="keywords" content="POS, Point of Sale Equipement, Used, Repair Service, Touch Screen, IBM, NCR, PAR, Micros, Epson, Printer, Depot, Exchange, Third Party, OEM, Restaurant, Hospitality, Kiosk, ATM, Minneapols, Minnesota, Tom Fischer, Select POS & Peripherals, LLC, Reconditioned, New POS equipement">
<meta name="description" content="Select POS provides maintenance and repair solutions tailored to fill the gaps
in your equipment maintenance process. We offer new and reconditioned equipment. We also purchase and remarket used POS equipment.">
</head>
<body>
<table width="800" border="0" bgcolor="#FFFFFF" summary="This is table structure for the website template
">
<caption>
</caption>
<tr>
<th colspan="8" bgcolor="#0C2F83" scope="col"> </th>
</tr>
<tr>
<th width="50" rowspan="2" scope="row"> </th>
<td width="305" rowspan="2" align="left" valign="top"><img src="images/logo2.jpg" alt="Select POS" width="198" height="69" border="0" usemap="#home"></td>
<td colspan="6" align="right" valign="top"><img src="images/navbar.jpg" alt="Navigation" width="373" height="12" border="0" usemap="#products"></td>
</tr>
<tr>
<td height="39" colspan="6"> </td>
</tr>
<tr align="left" valign="top">
<td height="17" colspan="8" bgcolor="#0C2F83" scope="row">
<p align="center"><span class="SelectPOS"><span class="style6"><strong>Sel
</td>
</tr>
<tr>
<th scope="row"> </th>
<td> </td>
<td width="84"> </td>
<td width="66"> </td>
<td width="77"> </td>
<td width="14"> </td>
<td width="160" align="left" valign="top"> </td>
<td width="18" align="left" valign="top"> </td>
</tr>
<tr>
<th scope="row"><table width="50" border="0">
<tr>
<th scope="col"> </th>
</tr>
</table></th>
<td colspan="4" align="left" valign="top" class="header"><!-- InstanceBeginEditable name="Header" --><span class="header">RMA Form Request</span><!-- InstanceEndEditable --></td>
<td width="14" rowspan="2" align="left" valign="top" background="images/vertlin
<td rowspan="2" align="left" valign="top">
<table width="156" border="0" align="right">
<tr>
<th width="150" height="90" align="left" valign="top" class="sidebar" scope="col">
<p><span class="dockv2"><a href="images/sellsheet.pdf
With free <a href="http://www.adobe.com/products/acrobat/adobepdf.html">Acrobat Reader® software,</a> you can view and print Adobe PDF files.</font></span></span
<map name="Map">
<area shape="rect" coords="3,1,153,33" href="images/sellsheet.pdf
</map>
</p>
</th>
</tr>
<tr>
<td align="left" valign="top" class="sidebar" scope="row"><a href="rma.htm"><img src="images/RMA.jpg" alt="RMA" width="150" height="34" border="0" usemap="#Map2"></a></td>
</tr>
<tr>
<td width="150" align="left" valign="top" class="sidebar" scope="row"><strong>Partne
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th height="35" align="left" valign="middle" scope="row"><a href="#" onClick="MM_openBrWindow('
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<td width="150" height="107" align="left" valign="top" bgcolor="#018091" scope="row">
<div align="center"><a href="#" onClick="MM_openBrWindow('
<span class="SelectPOS"><strong>
</td>
</tr>
</table>
</td>
<td rowspan="2" align="left" valign="top"> </td>
</tr>
<tr>
<th height="43" align="left" valign="top"> </th>
<td colspan="4" align="left" valign="top" class="body">
<p></p>
<!-- InstanceBeginEditable name="Body" -->
<p>Please complete information below. Your unique RMA number is displayed at the top of this form. Please use this number when communicating with Select POS about your repair. Upon completion of this form, an automated email will be sent to you confirming your RMA information. Thank you!</p>
<form name="Request" method="post" action="rma2.asp">
<table width="557" border="0" cellpadding="2" cellspacing="2" bgcolor="#E1E0DB">
<tr>
<td width="156" height="33" align="left" valign="top" class="body">
<p> <strong>Date:</strong>
<input name="sDate" type="text" id="sDate" size="12">
</td>
<td width="387" height="33" align="left" valign="top" class="body"><strong><stro
<input type=text name=mySuperId value="">
<script type="text/javascript">
var d = new Date()
var myID = d.getDate()+""+d.getMonth(
document.forms[0].mySuperI
</script>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>Compa
<input name="sCompany" type="text" id="sCompany" size="71">
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">Street Address:
<input name="sStreet" type="text" id="sStreet" size="72">
</span> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">City:
<input name="sCity" type="text" id="sCity" size="31">
State:
<select name="sState" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip: </span>
<input name="sZip" type="text" id="sZip" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="top" class="body">
<p><b>Ship to Address:</b>
<input name="sShipto" type="checkbox" id="sShipto" value="Yes" checked>
same as Billing Address</p>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body">
<p class="unnamed1">Street Address:
<input name="sStreetship" type="text" id="sStreetship" size="72">
</p>
</td>
</tr>
<tr>
<td height="28" colspan="2" align="left" valign="top" class="body"> City:
<input name="sCityship" type="text" id="sCityship" size="31">
State: <select name="sStateship" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip:
<input name="sZipship" type="text" id="sZipship" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="bottom" class="body"><strong>Conta
<input name="sContactname" type="text" id="sContactname" onBlur="MM_validateForm('s
<span class="copyright"> (*required fields)</span>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="bottom" class="body"><span class="unnamed1"><strong>P
<input name="sPhone" type="text" id="sPhone" onBlur="MM_validateForm('s
<strong> Email Address*: </strong>
<input name="sEmail" type="text" id="sEmail" onBlur="MM_validateForm('s
</span></td>
</tr>
<tr>
<td colspan="2" class="body"><strong>Item being shipped for repair:</strong>
<input name="sItems" type="text" id="sItems" size="55">
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" class="body"><strong>Comme
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>
<textarea name="sComments" cols="74" rows="2" id="sComments"></textarea>
</strong> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top">
<input name="sSubmit" type="submit" id="sSubmit" value="Submit">
<input name="sReset" type="reset" id="sReset" value="Reset">
</td>
</tr>
</table>
</form>
<!-- InstanceEndEditable --></p>
</td>
</tr>
<tr>
<td height="5" colspan="8" align="left" valign="top" nowrap > </td>
</tr>
<tr bgcolor="#003366">
<th height="21" bgcolor="#FFFFFF" > </th>
<td colspan="7" align="left" valign="top" bgcolor="#FFFFFF" class="copyright style8"><span class="copyright">© Copyright 2005, Select P.O.S. & Peripherals, LLC. All rights reserved. For more information, contact us at 1.866.559.3500 or email </span><a href="mailto:information@s
</tr>
</table>
<map name="home" id="home">
<area shape="rect" coords="0,1,189,67" href="index.html">
</map>
<map name="products" id="products">
<area shape="rect" coords="329,0,375,11" href="index.html">
<area shape="rect" coords="251,0,321,16" href="contact.htm">
<area shape="rect" coords="134,0,240,13" href="about.htm">
<area shape="rect" coords="67,0,125,10" href="services.htm">
<area shape="rect" coords="0,0,57,13" href="products.htm">
</map>
<map name="Map2">
<area shape="rect" coords="1,2,150,39" href="rma.htm">
</map>
</body>
<!-- InstanceEnd --></html>
Your page is missing this DreamWeawer function: MM_findObj()
Extend your <form> tag to this:
<form name="Request" method="post" action="rma2.asp" onSubmit="MM_validateForm( 'sContactn ame','','R ','sPhone' ,'','R','s Email','', 'R');retur n document.MM_returnValue">
and add ths function to the script section:
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&p arent.fram es.length) {
d=parent.frames[n.substrin g(p+1)].do cument; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length; i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d. layers.len gth;i++) x=MM_findObj(n,d.layers[i] .document) ;
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
<form name="Request" method="post" action="rma2.asp" onSubmit="MM_validateForm(
and add ths function to the script section:
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&p
d=parent.frames[n.substrin
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;
for(i=0;!x&&d.layers&&i<d.
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
ASKER
I have added the strings as you have suggested, but it still isn't giving me a error message when the validated fields aren't filled out and it is passing straight thru to the thankyou page.
<html><!-- InstanceBegin template="/Templates/selec t3.dwt" codeOutsideHTMLIsLocked="f alse" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Select P.O.S. & Peripherals, LLC.</title>
<!-- InstanceEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Wed Feb 02 17:45:51 GMT-0600 (Central Standard Time) 2005-->
<link href="SelectPOS.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #0C2F83}
body {
margin-left: 100px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url();
background-color: #003366;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
a:link {
color: #0C2F83;
}
a:visited {
color: #CC0033;
}
a:hover {
color: #339933;
}
a:active {
color: #3300FF;
}
.style6 {font-size: 9pt}
.style8 {color: #FFFFFF}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&p arent.fram es.length) {
d=parent.frames[n.substrin g(p+1)].do cument; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length; i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d. layers.len gth;i++) x=MM_findObj(n,d.layers[i] .document) ;
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max, errors='', args=MM_va lidateForm .arguments ;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!= -1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&p arent.fram es.length) {
d=parent.frames[n.substrin g(p+1)].do cument; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length; i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d. layers.len gth;i++) x=MM_findObj(n,d.layers[i] .document) ;
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//-->
</script>
<!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,win Name,featu res) { //v2.0
window.open(theURL,winName ,features) ;
}
//-->
</script>
<meta name="keywords" content="POS, Point of Sale Equipement, Used, Repair Service, Touch Screen, IBM, NCR, PAR, Micros, Epson, Printer, Depot, Exchange, Third Party, OEM, Restaurant, Hospitality, Kiosk, ATM, Minneapols, Minnesota, Tom Fischer, Select POS & Peripherals, LLC, Reconditioned, New POS equipement">
<meta name="description" content="Select POS provides maintenance and repair solutions tailored to fill the gaps
in your equipment maintenance process. We offer new and reconditioned equipment. We also purchase and remarket used POS equipment.">
</head>
<body>
<table width="800" border="0" bgcolor="#FFFFFF" summary="This is table structure for the website template
">
<caption>
</caption>
<tr>
<th colspan="8" bgcolor="#0C2F83" scope="col"> </th>
</tr>
<tr>
<th width="50" rowspan="2" scope="row"> </th>
<td width="305" rowspan="2" align="left" valign="top"><img src="images/logo2.jpg" alt="Select POS" width="198" height="69" border="0" usemap="#home"></td>
<td colspan="6" align="right" valign="top"><img src="images/navbar.jpg" alt="Navigation" width="373" height="12" border="0" usemap="#products"></td>
</tr>
<tr>
<td height="39" colspan="6"> </td>
</tr>
<tr align="left" valign="top">
<td height="17" colspan="8" bgcolor="#0C2F83" scope="row">
<p align="center"><span class="SelectPOS"><span class="style6"><strong>Sel ect P.O.S. & Peripherals, LLC.<span class="style2">xx</span> 5239 Edina Industrial Blvd. <span class="style2">xx</span>Ed ina, MN 55439 <span class="style2">xx</span>To ll Free 1.866.559.3500</strong></s pan></span ></p>
</td>
</tr>
<tr>
<th scope="row"> </th>
<td> </td>
<td width="84"> </td>
<td width="66"> </td>
<td width="77"> </td>
<td width="14"> </td>
<td width="160" align="left" valign="top"> </td>
<td width="18" align="left" valign="top"> </td>
</tr>
<tr>
<th scope="row"><table width="50" border="0">
<tr>
<th scope="col"> </th>
</tr>
</table></th>
<td colspan="4" align="left" valign="top" class="header"><!-- InstanceBeginEditable name="Header" --><span class="header">RMA Form Request</span><!-- InstanceEndEditable --></td>
<td width="14" rowspan="2" align="left" valign="top" background="images/vertlin e.jpg">&nb sp;</td>
<td rowspan="2" align="left" valign="top">
<table width="156" border="0" align="right">
<tr>
<th width="150" height="90" align="left" valign="top" class="sidebar" scope="col">
<p><span class="dockv2"><a href="images/sellsheet.pdf "><img src="images/sellbutton.jpg " alt="Sell Sheet" width="150" height="34" border="0" usemap="#Map"></a><span class="unnamed1"><font size="1"><br>
With free <a href="http://www.adobe.com/products/acrobat/adobepdf.html">Acrobat Reader® software,</a> you can view and print Adobe PDF files.</font></span></span >
<map name="Map">
<area shape="rect" coords="3,1,153,33" href="images/sellsheet.pdf ">
</map>
</p>
</th>
</tr>
<tr>
<td align="left" valign="top" class="sidebar" scope="row"><a href="rma.htm"><img src="images/RMA.jpg" alt="RMA" width="150" height="34" border="0" usemap="#Map2"></a></td>
</tr>
<tr>
<td width="150" align="left" valign="top" class="sidebar" scope="row"><strong>Partne rs and supported brands include:</strong></td>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.partech.com/PTI/rest-front.cfm','Par','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/par.jpg" width="95" height="31" border="0"></a></th>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.pc.ibm.com/store/','IBM','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/ibm.jpg" width="95" height="41" border="0"></a></th>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.ncr.com/','NCR','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/ncr.jpg" width="95" height="42" border="0"></a></th>
</tr>
<tr>
<th height="35" align="left" valign="middle" scope="row"><a href="#" onClick="MM_openBrWindow(' http://www.mircos.com','','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/micros_logo.gi f" alt="Micros" width="71" height="20" hspace="12" vspace="0" border="0"></a></th>
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.pos.epson.com/posindex.htm','Epson','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/epson.jpg" width="95" height="35" border="0"></a></th>
</tr>
<tr>
<th align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow(' http://www.symbol.com/','Symbol','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/symbol.jpg" width="95" height="36" border="0"></a></th>
</tr>
<tr>
<td width="150" height="107" align="left" valign="top" bgcolor="#018091" scope="row">
<div align="center"><a href="#" onClick="MM_openBrWindow(' http://www.rspassn.org','','scrollbars=yes,resizable=yes,width=550,height=400')"><img src="images/logo_in_an_ova _glowl_sma ll.jpg" alt="RSPA" width="150" height="81" hspace="0" vspace="0" border="0"></a><br>
<span class="SelectPOS"><strong> RSPA Member </strong></span> </div>
</td>
</tr>
</table>
</td>
<td rowspan="2" align="left" valign="top"> </td>
</tr>
<tr>
<th height="43" align="left" valign="top"> </th>
<td colspan="4" align="left" valign="top" class="body">
<p></p>
<!-- InstanceBeginEditable name="Body" -->
<p>Please complete information below. Your unique RMA number is displayed at the top of this form. Please use this number when communicating with Select POS about your repair. Upon completion of this form, an automated email will be sent to you confirming your RMA information. Thank you!</p>
<form name="Request" method="post" action="rma2.asp" onSubmit="MM_validateForm( 'sContactn ame','','R ','sPhone' ,'','R','s Email','', 'R');retur n document.MM_returnValue">
<table width="557" border="0" cellpadding="2" cellspacing="2" bgcolor="#E1E0DB">
<tr>
<td width="156" height="33" align="left" valign="top" class="body">
<p> <strong>Date:</strong>
<input name="sDate" type="text" id="sDate" size="12">
</td>
<td width="387" height="33" align="left" valign="top" class="body"><strong><stro ng><strong >RMA#</str ong>
<input type=text name=mySuperId value=""><script type="text/javascript">
var d = new Date()
var myID = d.getDate()+""+d.getMonth( ) + 1+""+d.getFullYear()+""+d. getHours() +""+d.getM inutes()+" "+d.getSec onds();
document.forms[0].mySuperI d.value=my ID;
</script>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>Compa ny Name:</strong>
<input name="sCompany" type="text" id="sCompany" size="71">
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">Street Address:
<input name="sStreet" type="text" id="sStreet" size="72">
</span> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">City:
<input name="sCity" type="text" id="sCity" size="31">
State:
<select name="sState" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip: </span>
<input name="sZip" type="text" id="sZip" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="top" class="body">
<p><b>Ship to Address:</b>
<input name="sShipto" type="checkbox" id="sShipto" value="Yes" checked>
same as Billing Address</p>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body">
<p class="unnamed1">Street Address:
<input name="sStreetship" type="text" id="sStreetship" size="72">
</p>
</td>
</tr>
<tr>
<td height="28" colspan="2" align="left" valign="top" class="body"> City:
<input name="sCityship" type="text" id="sCityship" size="31">
State: <select name="sStateship" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip:
<input name="sZipship" type="text" id="sZipship" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="bottom" class="body"><strong>Conta ct Name*:</strong>
<input name="sContactname" type="text" id="sContactname" onBlur="MM_validateForm('s Contactnam e','','R') ;return document.MM_returnValue" size="55">
<span class="copyright"> (*required fields)</span>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="bottom" class="body"><span class="unnamed1"><strong>P hone Number*:</strong>
<input name="sPhone" type="text" id="sPhone" onBlur="MM_validateForm('s Phone','', 'RisNum'); return document.MM_returnValue" size="18">
<strong> Email Address*: </strong>
<input name="sEmail" type="text" id="sEmail" onBlur="MM_validateForm('s Date','',' R','sEmail ','','RisE mail');ret urn document.MM_returnValue" size="30">
</span></td>
</tr>
<tr>
<td colspan="2" class="body"><strong>Item being shipped for repair:</strong>
<input name="sItems" type="text" id="sItems" size="55">
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" class="body"><strong>Comme nts:</stro ng></td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>
<textarea name="sComments" cols="74" rows="2" id="sComments"></textarea>
</strong> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top">
<input name="sSubmit" type="submit" id="sSubmit" value="Submit">
<input name="sReset" type="reset" id="sReset" value="Reset">
</td>
</tr>
</table>
</form>
<!-- InstanceEndEditable --></p>
</td>
</tr>
<tr>
<td height="5" colspan="8" align="left" valign="top" nowrap > </td>
</tr>
<tr bgcolor="#003366">
<th height="21" bgcolor="#FFFFFF" > </th>
<td colspan="7" align="left" valign="top" bgcolor="#FFFFFF" class="copyright style8"><span class="copyright">© Copyright 2005, Select P.O.S. & Peripherals, LLC. All rights reserved. For more information, contact us at 1.866.559.3500 or email </span><a href="mailto:information@s electpos.c om?subject =Informati on%20Reque st">inform ation@sele ctpos.com< /a></td>
</tr>
</table>
<map name="home" id="home">
<area shape="rect" coords="0,1,189,67" href="index.html">
</map>
<map name="products" id="products">
<area shape="rect" coords="329,0,375,11" href="index.html">
<area shape="rect" coords="251,0,321,16" href="contact.htm">
<area shape="rect" coords="134,0,240,13" href="about.htm">
<area shape="rect" coords="67,0,125,10" href="services.htm">
<area shape="rect" coords="0,0,57,13" href="products.htm">
</map>
<map name="Map2">
<area shape="rect" coords="1,2,150,39" href="rma.htm">
</map>
</body>
<!-- InstanceEnd --></html>
<html><!-- InstanceBegin template="/Templates/selec
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Select P.O.S. & Peripherals, LLC.</title>
<!-- InstanceEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Wed Feb 02 17:45:51 GMT-0600 (Central Standard Time) 2005-->
<link href="SelectPOS.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #0C2F83}
body {
margin-left: 100px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url();
background-color: #003366;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
a:link {
color: #0C2F83;
}
a:visited {
color: #CC0033;
}
a:hover {
color: #339933;
}
a:active {
color: #3300FF;
}
.style6 {font-size: 9pt}
.style8 {color: #FFFFFF}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&p
d=parent.frames[n.substrin
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;
for(i=0;!x&&d.layers&&i<d.
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&p
d=parent.frames[n.substrin
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;
for(i=0;!x&&d.layers&&i<d.
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//-->
</script>
<!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,win
window.open(theURL,winName
}
//-->
</script>
<meta name="keywords" content="POS, Point of Sale Equipement, Used, Repair Service, Touch Screen, IBM, NCR, PAR, Micros, Epson, Printer, Depot, Exchange, Third Party, OEM, Restaurant, Hospitality, Kiosk, ATM, Minneapols, Minnesota, Tom Fischer, Select POS & Peripherals, LLC, Reconditioned, New POS equipement">
<meta name="description" content="Select POS provides maintenance and repair solutions tailored to fill the gaps
in your equipment maintenance process. We offer new and reconditioned equipment. We also purchase and remarket used POS equipment.">
</head>
<body>
<table width="800" border="0" bgcolor="#FFFFFF" summary="This is table structure for the website template
">
<caption>
</caption>
<tr>
<th colspan="8" bgcolor="#0C2F83" scope="col"> </th>
</tr>
<tr>
<th width="50" rowspan="2" scope="row"> </th>
<td width="305" rowspan="2" align="left" valign="top"><img src="images/logo2.jpg" alt="Select POS" width="198" height="69" border="0" usemap="#home"></td>
<td colspan="6" align="right" valign="top"><img src="images/navbar.jpg" alt="Navigation" width="373" height="12" border="0" usemap="#products"></td>
</tr>
<tr>
<td height="39" colspan="6"> </td>
</tr>
<tr align="left" valign="top">
<td height="17" colspan="8" bgcolor="#0C2F83" scope="row">
<p align="center"><span class="SelectPOS"><span class="style6"><strong>Sel
</td>
</tr>
<tr>
<th scope="row"> </th>
<td> </td>
<td width="84"> </td>
<td width="66"> </td>
<td width="77"> </td>
<td width="14"> </td>
<td width="160" align="left" valign="top"> </td>
<td width="18" align="left" valign="top"> </td>
</tr>
<tr>
<th scope="row"><table width="50" border="0">
<tr>
<th scope="col"> </th>
</tr>
</table></th>
<td colspan="4" align="left" valign="top" class="header"><!-- InstanceBeginEditable name="Header" --><span class="header">RMA Form Request</span><!-- InstanceEndEditable --></td>
<td width="14" rowspan="2" align="left" valign="top" background="images/vertlin
<td rowspan="2" align="left" valign="top">
<table width="156" border="0" align="right">
<tr>
<th width="150" height="90" align="left" valign="top" class="sidebar" scope="col">
<p><span class="dockv2"><a href="images/sellsheet.pdf
With free <a href="http://www.adobe.com/products/acrobat/adobepdf.html">Acrobat Reader® software,</a> you can view and print Adobe PDF files.</font></span></span
<map name="Map">
<area shape="rect" coords="3,1,153,33" href="images/sellsheet.pdf
</map>
</p>
</th>
</tr>
<tr>
<td align="left" valign="top" class="sidebar" scope="row"><a href="rma.htm"><img src="images/RMA.jpg" alt="RMA" width="150" height="34" border="0" usemap="#Map2"></a></td>
</tr>
<tr>
<td width="150" align="left" valign="top" class="sidebar" scope="row"><strong>Partne
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th height="35" align="left" valign="middle" scope="row"><a href="#" onClick="MM_openBrWindow('
</tr>
<tr>
<th width="150" align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<th align="left" valign="top" scope="row"><a href="javascript:;" onClick="MM_openBrWindow('
</tr>
<tr>
<td width="150" height="107" align="left" valign="top" bgcolor="#018091" scope="row">
<div align="center"><a href="#" onClick="MM_openBrWindow('
<span class="SelectPOS"><strong>
</td>
</tr>
</table>
</td>
<td rowspan="2" align="left" valign="top"> </td>
</tr>
<tr>
<th height="43" align="left" valign="top"> </th>
<td colspan="4" align="left" valign="top" class="body">
<p></p>
<!-- InstanceBeginEditable name="Body" -->
<p>Please complete information below. Your unique RMA number is displayed at the top of this form. Please use this number when communicating with Select POS about your repair. Upon completion of this form, an automated email will be sent to you confirming your RMA information. Thank you!</p>
<form name="Request" method="post" action="rma2.asp" onSubmit="MM_validateForm(
<table width="557" border="0" cellpadding="2" cellspacing="2" bgcolor="#E1E0DB">
<tr>
<td width="156" height="33" align="left" valign="top" class="body">
<p> <strong>Date:</strong>
<input name="sDate" type="text" id="sDate" size="12">
</td>
<td width="387" height="33" align="left" valign="top" class="body"><strong><stro
<input type=text name=mySuperId value=""><script type="text/javascript">
var d = new Date()
var myID = d.getDate()+""+d.getMonth(
document.forms[0].mySuperI
</script>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>Compa
<input name="sCompany" type="text" id="sCompany" size="71">
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">Street Address:
<input name="sStreet" type="text" id="sStreet" size="72">
</span> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><span class="unnamed1">City:
<input name="sCity" type="text" id="sCity" size="31">
State:
<select name="sState" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip: </span>
<input name="sZip" type="text" id="sZip" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="top" class="body">
<p><b>Ship to Address:</b>
<input name="sShipto" type="checkbox" id="sShipto" value="Yes" checked>
same as Billing Address</p>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body">
<p class="unnamed1">Street Address:
<input name="sStreetship" type="text" id="sStreetship" size="72">
</p>
</td>
</tr>
<tr>
<td height="28" colspan="2" align="left" valign="top" class="body"> City:
<input name="sCityship" type="text" id="sCityship" size="31">
State: <select name="sStateship" size="1" id="select3">
<option value="" selected> </option>
<option value="AL"> AL
<option value="AK"> AK
<option value="AZ"> AZ
<option value="AR"> AR
<option value="CA"> CA
<option value="CO"> CO
<option value="CT"> CT
<option value="DE"> DE
<option value="DC"> DC
<option value="FL"> FL
<option value="GA"> GA
<option value="GU"> GU
<option value="HI"> HI
<option value="ID"> ID
<option value="IL"> IL
<option value="IN"> IN
<option value="IA"> IA
<option value="KS"> KS
<option value="KY"> KY
<option value="LA"> LA
<option value="ME"> ME
<option value="MH"> MH
<option value="MD"> MD
<option value="MA"> MA
<option value="MI"> MI
<option value="MN"> MN
<option value="MS"> MS
<option value="MO"> MO
<option value="MT"> MT
<option value="NE"> NE
<option value="NV"> NV
<option value="NH"> NH
<option value="NJ"> NJ
<option value="NM"> NM
<option value="NY"> NY
<option value="NC"> NC
<option value="ND"> ND
<option value="OH"> OH
<option value="OK"> OK
<option value="OR"> OR
<option value="PW"> PW
<option value="PA"> PA
<option value="PR"> PR
<option value="RI"> RI
<option value="SC"> SC
<option value="SD"> SD
<option value="TN"> TN
<option value="TX"> TX
<option value="UT"> UT
<option value="VT"> VT
<option value="VI"> VI
<option value="VA"> VA
<option value="WA"> WA
<option value="WV"> WV
<option value="WI"> WI
<option value="WY"> WY
</select>
Zip:
<input name="sZipship" type="text" id="sZipship" size="17">
</td>
</tr>
<tr>
<td height="27" colspan="2" align="left" valign="bottom" class="body"><strong>Conta
<input name="sContactname" type="text" id="sContactname" onBlur="MM_validateForm('s
<span class="copyright"> (*required fields)</span>
</td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="bottom" class="body"><span class="unnamed1"><strong>P
<input name="sPhone" type="text" id="sPhone" onBlur="MM_validateForm('s
<strong> Email Address*: </strong>
<input name="sEmail" type="text" id="sEmail" onBlur="MM_validateForm('s
</span></td>
</tr>
<tr>
<td colspan="2" class="body"><strong>Item being shipped for repair:</strong>
<input name="sItems" type="text" id="sItems" size="55">
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" class="body"><strong>Comme
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top" class="body"><strong>
<textarea name="sComments" cols="74" rows="2" id="sComments"></textarea>
</strong> </td>
</tr>
<tr>
<td height="33" colspan="2" align="left" valign="top">
<input name="sSubmit" type="submit" id="sSubmit" value="Submit">
<input name="sReset" type="reset" id="sReset" value="Reset">
</td>
</tr>
</table>
</form>
<!-- InstanceEndEditable --></p>
</td>
</tr>
<tr>
<td height="5" colspan="8" align="left" valign="top" nowrap > </td>
</tr>
<tr bgcolor="#003366">
<th height="21" bgcolor="#FFFFFF" > </th>
<td colspan="7" align="left" valign="top" bgcolor="#FFFFFF" class="copyright style8"><span class="copyright">© Copyright 2005, Select P.O.S. & Peripherals, LLC. All rights reserved. For more information, contact us at 1.866.559.3500 or email </span><a href="mailto:information@s
</tr>
</table>
<map name="home" id="home">
<area shape="rect" coords="0,1,189,67" href="index.html">
</map>
<map name="products" id="products">
<area shape="rect" coords="329,0,375,11" href="index.html">
<area shape="rect" coords="251,0,321,16" href="contact.htm">
<area shape="rect" coords="134,0,240,13" href="about.htm">
<area shape="rect" coords="67,0,125,10" href="services.htm">
<area shape="rect" coords="0,0,57,13" href="products.htm">
</map>
<map name="Map2">
<area shape="rect" coords="1,2,150,39" href="rma.htm">
</map>
</body>
<!-- InstanceEnd --></html>
So post your page html source from the browser together with the validation script.