Compare Passwords
http://www.wizard.ie/asp/new_user.asp
The code...........
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Wizard - Your Quality Office Products Supplier </title>
<meta http-equiv="Content-Type" content="text/html; charset="iso-8859-1"">
<META name="Wizard.ie" content="Your Quality Office Priducts Supplier.">
<meta name="description" content="Wizard - Your Quality Office Products Supplier. Ireland's Premier Office Products Supplier.">
<meta name="keywords" content="wizard, office supplies, stationery, stationary, online ordering, online catalogue, safety & hygiene, pc media & accessories, postroom & packaging, quality office supplier, quality office products, clearance sale, special offers">
<meta name="Author" content="This site designed by Andy Bertaut for Wizard">
<meta name="Copyright" content="(C) 2005 Slevin-Group">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
}
-->
</style>
<link href="../wiz.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_0624153231_0) return;
window.mm_menu_0624153231_0 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FC8C04","#FC8C04","#FED39E","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0624153231_0.addMenuItem("Pens & Pencils","location='cats/category_pp.asp'");
mm_menu_0624153231_0.addMenuItem("Desktop Accessories","location='cats/category_da.asp'");
mm_menu_0624153231_0.addMenuItem("Filing & Binding","location='cats/category_fb.asp'");
mm_menu_0624153231_0.addMenuItem("Legal & Prof Supplies","location='cats/category_lps.asp'");
mm_menu_0624153231_0.hideOnMouseOut=true;
mm_menu_0624153231_0.bgColor='#FED39E';
mm_menu_0624153231_0.menuBorder=1;
mm_menu_0624153231_0.menuLiteBgColor='#FC8C04';
mm_menu_0624153231_0.menuBorderBgColor='#FC8C04';
window.mm_menu_0624153634_0 = new Menu("root",210,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FC8C04","#FC8C04","#FED39E","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0624153634_0.addMenuItem("Catering & Cleaning","location='cats/category_cc.asp'");
mm_menu_0624153634_0.addMenuItem("Safety, Security & Mainenance","location='cats/category_ssm.asp'");
mm_menu_0624153634_0.hideOnMouseOut=true;
mm_menu_0624153634_0.bgColor='#FED39E';
mm_menu_0624153634_0.menuBorder=1;
mm_menu_0624153634_0.menuLiteBgColor='#FC8C04';
mm_menu_0624153634_0.menuBorderBgColor='#FC8C04';
window.mm_menu_0624155756_0 = new Menu("root",186,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FC8C04","#FC8C04","#FED39E","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0624155756_0.addMenuItem("Computer Products","location='cats/category_cp.asp'");
mm_menu_0624155756_0.addMenuItem("Conference & Presentation","location='cats/category_cfpr.asp'");
mm_menu_0624155756_0.hideOnMouseOut=true;
mm_menu_0624155756_0.bgColor='#FED39E';
mm_menu_0624155756_0.menuBorder=1;
mm_menu_0624155756_0.menuLiteBgColor='#FC8C04';
mm_menu_0624155756_0.menuBorderBgColor='#FC8C04';
mm_menu_0624155756_0.writeMenus();
} // mmLoadMenus()
function MM_preloadImages() { //v3.0
var d="document;" if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize="MM_reloadPage;" }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d="document;" if((p=n.indexOf("?"))>0&&parent.frames.length) {
d="parent.frames"[n.substring(p+1)].document; 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.length;i++) x="MM_findObj"(n,d.layers[i].document);
if(!x && d.getElementById) x="d.getElementById"(n); return x;
}
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img="nbArr"[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
} }
}
function MM_goToURL() { //v3.0
var i, args="MM_goToURL.arguments;" document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.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>
<style type="text/css">
<!--
.smallboldfooter {font-family: Verdana,Arial,Helvetica; font-size: 10px; color: #999999;}
.smallnormal {font-family: Verdana,Arial,Helvetica; font-size: 10px; }
.buttonstyle {font-family: Verdana; font-size: 10px; font-weight: bold; color: white; background-color: #8888AA; }
-->
</style>
<script language="JavaScript" src="mm_menu.js"></script>
</head>
<body onload="MM_preloadImages('../images/nav_2.gif','../images/logo_mov.gif','../images/nav_bar/office_over.gif','../images/nav_bar/saf_hy_over.gif','../images/nav_bar/pc_med_over.gif','../images/nav_bar/pp_over.gif')">
<script language="JavaScript1.2">mmLoadMenus();</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="47%" valign="top"><table width="100%" height="77" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="100%" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFFFFF', endcolorstr='#3C349C', gradienttype='1');"><!-- #BeginLibraryItem "/Library/cart.lbi" --><table width="281" height="53" border="0" cellpadding="0" cellspacing="0" id="login">
<tr>
<td width="16"> </td>
<td width="39" height="27"> </td>
<td width="135"><a href="shopping_cart.asp"><img src="../images/crtvw.gif" alt="View the Contents of Your Cart" width="130" height="26" border="0"></a></td>
<td width="91" rowspan="2" valign="top"><a href="shopping_cart.asp"><img src="../images/crt.gif" alt="View Your Shopping Cart" width="50" height="50" border="0"></a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><a href="checkout.asp"><img src="../images/crchk.gif" alt="Pay for Your Purchases" width="130" height="26" border="0"></a></td>
</tr>
</table>
<!-- #EndLibraryItem --></td>
</tr>
</table></td>
<td width="30%" align="right" valign="top"><div align="left"><img src="../images/banner_lrg.gif" alt="Wizard - Your Quality Office Products Supplier" width="375" height="77"></div></td>
<td width="30%" align="left" valign="top"><div align="left"><img src="../images/logo.gif" alt="Wizard - Your Quality Office Products Supplier" width="282" height="77"></div></td>
</tr>
</table>
<hr align="center" width="100%">
<table width="100%" height="450" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" height="20" valign="top"><img src="../images/categories2.gif" alt="Product Categories" width="150" height="22"></td>
<td width="80%" height="20" valign="top"> </td>
</tr>
<tr>
<td width="20%" height="357" valign="bottom">
<!-- Navigation Section. --> <div id="navdiv">
<table border="0" cellpadding="0" cellspacing="0" bordercolor="#F1870D">
<tr>
<td><a href="office_supplies.asp" target="_self" onclick="MM_nbGroup('down','group1','office','',1)" onmouseover="MM_nbGroup('over','office','../images/nav_bar/office_over.gif','',1)" onmouseout="MM_nbGroup('out')"><img src="../images/nav_bar/office_up.gif" alt="Office Supplies" name="office" border="0" onmouseover="MM_showMenu(window.mm_menu_0624153231_0,120,0,null,'office')" onmouseout="MM_startTimeout();" onload=""></a></td>
</tr>
<tr>
<td><a href="safety_hygiene.asp" target="_self" onclick="MM_nbGroup('down','group1','safety','',1)" onmouseover="MM_nbGroup('over','safety','../images/nav_bar/saf_hy_over.gif','',1)" onmouseout="MM_nbGroup('out')"><img src="../images/nav_bar/saf_hy_up.gif" alt="Safety & Hygiene" name="safety" border="0" onmouseover="MM_showMenu(window.mm_menu_0624153634_0,120,0,null,'safety')" onmouseout="MM_startTimeout();" onload=""></a></td>
</tr>
<tr>
<td><a href="pcmed_access.asp" target="_self" onclick="MM_nbGroup('down','group1','pc','',1)" onmouseover="MM_nbGroup('over','pc','../images/nav_bar/pc_med_over.gif','',1)" onmouseout="MM_nbGroup('out')"><img src="../images/nav_bar/pc_med_up.gif" alt="PC Media & Accessories" name="pc" border="0" onmouseover="MM_showMenu(window.mm_menu_0624155756_0,120,0,null,'pc')" onmouseout="MM_startTimeout();" onload=""></a></td>
</tr>
<tr>
<td><a href="postroom_p.asp" target="_self" onclick="MM_nbGroup('down','group1','post','',1)" onmouseover="MM_nbGroup('over','post','../images/nav_bar/pp_over.gif','',1)" onmouseout="MM_nbGroup('out')"><img src="../images/nav_bar/pp_up.gif" alt="Postroom & Packaging" name="post" border="0" onload=""></a></td>
</tr>
</table>
</div> <!-- End Of Navigation Section -->
<!-- Mailing list start -->
<form action="mailinglist_process.asp" method="POST" name="AddMe" id="formbody">
<img src="../images/mailinglist2.gif" alt="Wizard Mailing List" width="150" height="22" hspace="0" vspace="0><br>"
<input type="hidden" name="addme" value="y">
<table border="0" cellpadding="0" cellspacing="4px" width="150px">
<tr>
<td class="smallnormal">Interested in our Mailing List? Please click below: </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center" class="smallnormal"><a href="mail_list.asp" target="_self" id="formbody">Mailing List </a></td>
</tr>
<tr>
<td align="center" class='smallnormal'> </td>
</tr>
</table>
</form>
<!-- Mailing list end --> </td>
<td align="center" valign="top"><!-- TemplateBeginEditable name="BodyEdit" -->
<form action="" method="post" name="userForm" id="formbody" onsubmit="MM_goToURL('parent','login.asp');return document.MM_returnValue">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="135"><div align="left">Name:</div></td>
<td colspan="2">
<div align="left">
<input name="name" type="text" id="name2" onblur="MM_validateForm('name2','','R');return document.MM_returnValue">
</div></td>
<td width="231"> </td>
</tr>
<tr>
<td><div align="left">Address:</div></td>
<td colspan="2">
<div align="left">
<textarea name="address" id="textarea" onblur="MM_validateForm('textarea','','R');return document.MM_returnValue"></textarea>
</div></td>
<td> </td>
</tr>
<tr>
<td><div align="left">Email Address: </div></td>
<td colspan="2">
<div align="left">
<input name="email" type="text" id="email2" onblur="MM_validateForm('name2','','NisEmail','email2','','R');return document.MM_returnValue">
</div></td>
<td> </td>
</tr>
<tr>
<td><div align="left">Company:</div></td>
<td colspan="2">
<div align="left">
<input name="company" type="text" id="company2" onblur="MM_validateForm('company2','','R');return document.MM_returnValue">
</div></td>
<td> </td>
</tr>
<tr>
<td><div align="left">Pick Your Username: </div></td>
<td colspan="2">
<div align="left">
<input name="username" type="text" id="username2" onblur="MM_validateForm('username2','','R');return document.MM_returnValue">
</div></td>
<td> </td>
</tr>
<tr>
<td><div align="left">Pick a Passsword: </div></td>
<td colspan="2">
<div align="left">
<input name="password" type="password" id="password2" onblur="MM_validateForm('password2','','R');return document.MM_returnValue">
</div></td>
<td> </td>
</tr>
<tr>
<td><div align="left">Confirm Password: </div></td>
<td colspan="2">
<div align="left">
<input name="passwordconfirm" type="password" id="passwordconfirm2" onblur="MM_validateForm('passwordconfirm2','','R');return document.MM_returnValue">
</div></td>
<td> </td>
</tr>
<tr>
<td><div align="left"></div></td>
<td colspan="2"><div align="left"></div></td>
<td> </td>
</tr>
<tr>
<td>
<div align="left"></div></td>
<td width="127">
<div align="left">
<input type="submit" name="Submit" value="Submit">
</div></td>
<td width="107"><div align="left">
<input name="Reset" type="reset" id="Reset" value="Reset">
</div></td>
<td> </td>
</tr>
</table>
</form>
<!-- TemplateEndEditable --></td>
</tr>
<tr valign="bottom">
<td colspan="2">
<!-- Quick Nav Table --><!-- #BeginLibraryItem "/Library/navtbl.lbi" -->
<link href="../wiz.css" rel="stylesheet" type="text/css">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="1" bgcolor="#000000"><img src="../images/spacer.gif"></td
></tr>
<tr>
<td height="20" align="center" valign="middle" class="smallnormal" id="quicknav" style="color:white;"> <a class="templatemenu" href="default.asp">Home</a> | <a class="templatemenu" href="search.asp">Search</a> | <a class="templatemenu" href="category_list.asp">Categories</a> | <a href="shopping_cart.asp">Shopping
Cart</a> | <a href="catalogue_request.asp">Request
Catalogue</a> | <a href="quick_order.asp">Quick Order </a> |
<!-- <a class="templatemenu" href="../asp/affiliate_stats.asp">Affiliates</a> -->
<a href="about_us.asp" target="_self" class="templatemenu">About
Us</a> | <a href="contact_us.asp" target="_self" class="templatemenu">Contact Us</a> </td>
</tr>
<tr>
<td height="1" bgcolor="#000000"><img src="../images/spacer.gif"></td>
</tr>
<tr>
<td align="center" valign="top" class="smallboldfooter">©2005 Wizard
Direct FREEPHONE: 1800 923 200 FREEFAX: 1800 923
400 <br>
</td>
</tr>
</table>
<!-- #EndLibraryItem --><!-- End Of Quick Nav Table --> </td>
</tr>
</table>
</body>
</html>
Comments
Compare Password
You can find a download at
http://www.yaromat.com/dw/?ex=Check%20Form%20MX which works with MX 04
You must me logged in to write a comment.