Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Turning the first alphabet of name into upper case (in create account page))


ivanibam

Recommended Posts

Hi, i'm kinda new to this and I have this problem. When customer wants to create a new account and he/she fills the first letter of first name with lower case, can it change automatically into upper case with what we code?? another thing is I also want to add identification number for customer to fill in the create a new account.

 

 

below is my example of source code in my "create new account page"

 

 

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html dir="LTR" lang="en"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<title>VoodooPC</title> 
<base href="http://localhost/oscommerce-2.2rc2a/voodooPC/"> 
<link rel="stylesheet" type="text/css" href="stylesheet.css"> 
<script type="text/javascript" src="iepngfix_tilebg.js"></script> 
<style type="text/css"> 
.ie6_png 			{behavior: url("iepngfix.htc") }
.ie6_png img		{behavior: url("iepngfix.htc") }
.ie6_png input		{behavior: url("iepngfix.htc") }
</style> 
<!--[if IE]>
  <script type="text/javascript" src="ie_png.js"></script>
  <script type="text/javascript">
      ie_png.fix('.png');
  </script>
<![endif]--> 
<script language="javascript"><!--
var form = "";
var submitted = false;
var error = false;
var error_message = "";

function check_input(field_name, field_size, message) {
 if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) {
   var field_value = form.elements[field_name].value;

   if (field_value.length < field_size) {
     error_message = error_message + "* " + message + "\n";
     error = true;
   }
 }
}

function check_radio(field_name, message) {
 var isChecked = false;

 if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) {
   var radio = form.elements[field_name];

   for (var i=0; i<radio.length; i++) {
     if (radio[i].checked == true) {
       isChecked = true;
       break;
     }
   }

   if (isChecked == false) {
     error_message = error_message + "* " + message + "\n";
     error = true;
   }
 }
}

function check_select(field_name, field_default, message) {
 if (form.elements[field_name] && (form.elements[field_name].type != "hidden")) {
   var field_value = form.elements[field_name].value;

   if (field_value == field_default) {
     error_message = error_message + "* " + message + "\n";
     error = true;
   }
 }
}

function check_password(field_name_1, field_name_2, field_size, message_1, message_2) {
 if (form.elements[field_name_1] && (form.elements[field_name_1].type != "hidden")) {
   var password = form.elements[field_name_1].value;
   var confirmation = form.elements[field_name_2].value;

   if (password.length < field_size) {
     error_message = error_message + "* " + message_1 + "\n";
     error = true;
   } else if (password != confirmation) {
     error_message = error_message + "* " + message_2 + "\n";
     error = true;
   }
 }
}

function check_password_new(field_name_1, field_name_2, field_name_3, field_size, message_1, message_2, message_3) {
 if (form.elements[field_name_1] && (form.elements[field_name_1].type != "hidden")) {
   var password_current = form.elements[field_name_1].value;
   var password_new = form.elements[field_name_2].value;
   var password_confirmation = form.elements[field_name_3].value;

   if (password_current.length < field_size) {
     error_message = error_message + "* " + message_1 + "\n";
     error = true;
   } else if (password_new.length < field_size) {
     error_message = error_message + "* " + message_2 + "\n";
     error = true;
   } else if (password_new != password_confirmation) {
     error_message = error_message + "* " + message_3 + "\n";
     error = true;
   }
 }
}

function check_form(form_name) {
 if (submitted == true) {
   alert("This form has already been submitted. Please press Ok and wait for this process to be completed.");
   return false;
 }

 error = false;
 form = form_name;
 error_message = "Errors have occured during the process of your form.\n\nPlease make the following corrections:\n\n";

 check_radio("gender", "Please select your Gender.");

 check_input("firstname", 2, "Your First Name must contain a minimum of 2 characters.");
 check_input("lastname", 2, "Your Last Name must contain a minimum of 2 characters.");

 check_input("dob", 10, "Your Date of Birth must be in this format: MM/DD/YYYY (eg 05/21/1970)");

 check_input("email_address", 6, "Your E-Mail Address must contain a minimum of 6 characters.");
 check_input("street_address", 5, "Your Street Address must contain a minimum of 5 characters.");
 check_input("postcode", 4, "Your Post Code must contain a minimum of 4 characters.");
 check_input("city", 3, "Your City must contain a minimum of 3 characters.");

 check_input("state", 2, "Your State must contain a minimum of 2 characters.");

 check_select("country", "", "You must select a country from the Countries pull down menu.");

 check_input("telephone", 3, "Your Telephone Number must contain a minimum of 3 characters.");

 check_password("password", "confirmation", 5, "Your Password must contain a minimum of 5 characters.", "The Password Confirmation must match your Password.");
 check_password_new("password_current", "password_new", "password_confirmation", 5, "Your Password must contain a minimum of 5 characters.", "Your new Password must contain a minimum of 5 characters.", "The Password Confirmation must match your new Password.");

 if (error == true) {
   alert(error_message);
   return false;
 } else {
   submitted = true;
   return true;
 }
}
//--></script> 
</head> 
<body> 
<!-- header //--> 
<!-- start --> 
<!-- start --> 
<table cellpadding="0" cellspacing="0" border="0" align="center" class="bg2_body"> 
	<tr><td class="bg3_body"> 


	<table cellpadding="0" cellspacing="0" border="0" align="center" class="width_table"> 
		<tr><td class="row_1"> 

			<table cellpadding="0" cellspacing="0" border="0"> 
				<tr> 
					<td class="BOX_WIDTH_TD_LEFT"> 
						<table cellpadding="0" cellspacing="0" border="0" class="BOX_WIDTH_LEFT"> 
							<tr><td class="logo"> 
								<table cellpadding="0" cellspacing="0" border="0"> 
									<tr><td><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?osCsid=ns1721t2mublesri1kr9948lg6"><img src="images/logo.png" border="0" alt="" width="135" height="34"  class="png"></a></td></tr> 
								</table> 
							</td></tr> 
						</table> 
					</td> 

					<td class="CONTENT_WIDTH_TD"> 
						<table cellpadding="0" cellspacing="0" border="0" class="header"> 
							<tr> 
								<td style="width:46%;"> 
									<table cellpadding="0" cellspacing="0" border="0"> 
										<tr><td class="languages"> 
<table border="0" cellspacing="0" cellpadding="0"> 
	<tr><td><b>Choose<br />your language:</b><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/create_account.php?language=en&osCsid=ns1721t2mublesri1kr9948lg6"><img src="includes/languages/english/images/icon.gif" border="0" alt="English" title=" English " width="24" height="15"></a><img src="images/spacer.gif" border="0" alt="" width="1" height="1"  style="margin:0px 3px 0px 0px;"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/create_account.php?language=de&osCsid=ns1721t2mublesri1kr9948lg6"><img src="includes/languages/german/images/icon.gif" border="0" alt="Deutsch" title=" Deutsch " width="24" height="15"></a><img src="images/spacer.gif" border="0" alt="" width="1" height="1"  style="margin:0px 3px 0px 0px;"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/create_account.php?language=es&osCsid=ns1721t2mublesri1kr9948lg6"><img src="includes/languages/espanol/images/icon.gif" border="0" alt="Español" title=" Español " width="24" height="15"></a></td> 
	</tr> 
</table> 
										</td></tr> 
										<tr><td style="background:url(images/line_x.gif) 0px center repeat-x;"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td></tr> 
										<tr><td class="currencies"> 
           <table border="0" cellspacing="0" cellpadding="0" align="center"> 
               <tr> 
                   <td style="width:100%"><b>Currencies:</b><form name="currencies" action="http://localhost/oscommerce-2.2rc2a/voodooPC/create_account.php" method="get"><select name="currency" onChange="this.form.submit();" class="select"><option value="USD" SELECTED>US Dollar</option><option value="EUR">Euro</option></select><input type="hidden" name="osCsid" value="ns1721t2mublesri1kr9948lg6"></form></td> 
               </tr> 
           </table> 
										</td></tr> 
									</table> 






								</td> 
								<td class="nav_separator"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td> 
								<td style="width:54%;"> 
									<table cellpadding="0" cellspacing="0" border="0" style="margin:2px 0px 0px 11px;"> 
										<tr> 
											<td class="li"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/advanced_search.php?osCsid=ns1721t2mublesri1kr9948lg6">Advanced Search</a></td> 
											<tr><td class="li"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/reviews.php?osCsid=ns1721t2mublesri1kr9948lg6">Reviews</a></td></tr> 
											<tr><td class="li"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/account.php?osCsid=ns1721t2mublesri1kr9948lg6">My Account</a><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/create_account.php?osCsid=ns1721t2mublesri1kr9948lg6">Create an Account</a></td></tr> 
											<tr><td class="li"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/logoff.php?osCsid=ns1721t2mublesri1kr9948lg6">Log Off</a><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/login.php?osCsid=ns1721t2mublesri1kr9948lg6">Log In</a></td></tr> 
											<tr><td class="li"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/shipping.php?osCsid=ns1721t2mublesri1kr9948lg6">Shipping & Returns</a></td> 
										</tr> 
									</table> 
								</td> 
								<td class="nav_separator"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td> 
								<td class="z1"> 
					<table cellpadding="0" cellspacing="0" border="0"> 
						<tr> 
							<td><img src="images/spacer.gif" border="0" alt="" width="1" height="1"  align="left" style="height:40px;width:43px;"><strong>Shopping Cart</strong> now in your cart <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/shopping_cart.php?osCsid=ns1721t2mublesri1kr9948lg6">1  items</a></td> 
					</tr> 
				</table>				
								</td>								
							</tr> 
						</table> 
					</td> 
				</tr> 
				<tr><td><img src="images/spacer.gif" border="0" alt="" width="1" height="3"></td><td></td></tr> 
				<tr> 
					<td class="BOX_WIDTH_TD_LEFT"> 
						<table cellpadding="0" cellspacing="0" border="0" class="BOX_WIDTH_LEFT"> 
							<tr><td class="search"> 
								<table cellpadding="0" cellspacing="0" border="0" class="table2"> 
									<tr><td class="td2"> 
				<form name="search" action="http://localhost/oscommerce-2.2rc2a/voodooPC/advanced_search_result.php" method="get">						<table border="0" cellspacing="0" cellpadding="0" align="right" class="table"> 
					<tr><td colspan="2">Site search:</td></tr> 
					<tr> 
						<td class="search_input-rep" style="width:100%"> 
							<table cellpadding="0" cellspacing="0" border="0" class="search_input-left"> 
								<tr><td class="search_input-right"><input type=text name="keywords" class="go" value="Search entire store..." onblur="if(this.value=='') this.value='Search entire store...'" onfocus="if(this.value =='Search entire store...' ) this.value=''"></td></tr> 
							</table> 
						</td> 
						<td><img src="images/spacer.gif" border="0" alt="" width="4" height="1"></td> 
						<td class="search_button-rep"> 
							<table cellpadding="0" cellspacing="0" border="0" class="search_button-left"> 
								<tr><td class="search_button-right"><input type="image" src="includes/languages/english/images/buttons/button_search_prod.gif" border="0" alt=""></td></tr> 
							</table> 
						</td> 
					</tr> 
					<tr><td colspan="2" align="right" style="padding:0px 4px 0px 0px;"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/advanced_search.php?osCsid=ns1721t2mublesri1kr9948lg6">Advanced Search</a></td></tr> 
					</table></form>                                        
									</td></tr> 
								</table> 
							</td></tr> 
						</table> 
					</td> 
					<td> 
					<table cellpadding="0" cellspacing="0" border="0"> 
						<tr> 
						<tr> 


	<td id="m1_eng" onMouseOut="this.id='m1_eng';" onMouseOver="this.id='over_m1_eng';" onClick="document.location='http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?osCsid=ns1721t2mublesri1kr9948lg6'"> 
						<div><table cellpadding="0" cellspacing="0" border="0"> 
							<tr><td><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td></tr> 
						</table></div>		
	</td> 
	<td id="m2_eng" onMouseOut="this.id='m2_eng';" onMouseOver="this.id='over_m2_eng';" onClick="document.location='http://localhost/oscommerce-2.2rc2a/voodooPC/products_new.php?osCsid=ns1721t2mublesri1kr9948lg6'"> 
						<div><table cellpadding="0" cellspacing="0" border="0"> 
							<tr><td><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td></tr> 
						</table></div>		
	</td> 
	<td id="m3_eng" onMouseOut="this.id='m3_eng';" onMouseOver="this.id='over_m3_eng';" onClick="document.location='http://localhost/oscommerce-2.2rc2a/voodooPC/specials.php?osCsid=ns1721t2mublesri1kr9948lg6'"> 
						<div><table cellpadding="0" cellspacing="0" border="0"> 
							<tr><td><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td></tr> 
						</table></div>		
	</td> 
	<td id="over_m4_eng" onMouseOut="this.id='over_m4_eng';" onMouseOver="this.id='over_m4_eng';" onClick="document.location='http://localhost/oscommerce-2.2rc2a/voodooPC/account.php?osCsid=ns1721t2mublesri1kr9948lg6'"> 
						<div><table cellpadding="0" cellspacing="0" border="0"> 
							<tr><td><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td></tr> 
						</table></div>		
	</td> 
	<td id="m5_eng" onMouseOut="this.id='m5_eng';" onMouseOver="this.id='over_m5_eng';" onClick="document.location='http://localhost/oscommerce-2.2rc2a/voodooPC/contact_us.php?osCsid=ns1721t2mublesri1kr9948lg6'"> 
						<div><table cellpadding="0" cellspacing="0" border="0"> 
							<tr><td><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td></tr> 
						</table></div>		
	</td> 
				</tr> 
			</table> 

					</td> 
				</tr> 
				<tr><td><img src="images/spacer.gif" border="0" alt="" width="1" height="3"></td><td></td></tr> 
			</table>		




		</td></tr> 
		<tr><td class="row_2"> 



<!-- header_eof //--> 

<!-- body //--> 
<table border="0" class="MAIN_TABLE" cellspacing="0" cellpadding="0"> 
<tr> 
   <td class="BOX_WIDTH_TD_LEFT"><table border="0" class="BOX_WIDTH_LEFT" cellspacing="0" cellpadding="0"> 
<!-- left_navigation //--> 
<!-- categories //--> 
         <tr> 
           <td> 
<table border="0" width="100%" cellspacing="0" cellpadding="0"  class="infoBoxHeading_table"> 
 <tr> 
   <td  class="infoBoxHeading_l"><img src="images/infoBoxHeading_tl.gif" border="0" alt="" width="16" height="16"></td> 
   <td  class="infoBoxHeading_td">Categories</td> 
   <td  class="infoBoxHeading_r"><img src="images/infoBoxHeading_tr.gif" border="0" alt="" width="16" height="16"></td> 
 </tr> 
</table> 
<table border="0" width="100%" cellspacing="0" cellpadding="0"  class="infoBox_table"> 
 <tr> 
   <td  class="infoBox_td"><table border="0" width="100%" cellspacing="0" cellpadding="0"  class="infoBoxContents_table"> 
 <tr> 
   <td  class="boxText"> 
<table cellpadding="0" cellspacing="0" border="0" class="table"><tr><td class="td"><ul class="categories"><li class="bg_list_un"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?cPath=22&osCsid=ns1721t2mublesri1kr9948lg6">Comfort - easy to carry-></a></li><li class="bg_list"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?cPath=23&osCsid=ns1721t2mublesri1kr9948lg6">efficiency - battery life matter-></a></li><li class="bg_list"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?cPath=21&osCsid=ns1721t2mublesri1kr9948lg6">Gaming - high speed for gamers-></a></li><li class="bg_list"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?cPath=24&osCsid=ns1721t2mublesri1kr9948lg6">Multimedia - high specification-></a></li><li class="bg_list"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?cPath=25&osCsid=ns1721t2mublesri1kr9948lg6">Normal - daily usage-></a></li></ul></td></tr></table></td> 
 </tr> 
</table> 
</td> 
 </tr> 
</table> 
           </td> 
         </tr> 
<!-- categories_eof //--> 
<tr><td class="banner_02"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/redirect.php?action=banner&goto=2&osCsid=ns1721t2mublesri1kr9948lg6" target="_self"><img src="images/banner_02.jpg" border="0" alt="Banner2" title=" Banner2 " width="200" height="98"></a></td></tr> 










<tr><td class="banner_03"><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/redirect.php?action=banner&goto=3&osCsid=ns1721t2mublesri1kr9948lg6" target="_self"><img src="images/banner_03.jpg" border="0" alt="Banner3" title=" Banner3 " width="200" height="98"></a></td></tr> 










<!-- left_navigation_eof //--> 
   </table></td> 
<!-- body_text //--> 
   <td class="CONTENT_WIDTH_TD">               




<form name="create_account" action="http://localhost/oscommerce-2.2rc2a/voodooPC/create_account.php?osCsid=ns1721t2mublesri1kr9948lg6" method="post" onSubmit="return check_form(create_account);"><input type="hidden" name="action" value="process">	

			<table cellpadding="0" cellspacing="0" border="0" align="center" class="content_wrapper_table"> 
				<tr><td class="content_wrapper_td"> 

 				<table cellpadding="0" cellspacing="0" border="0" class="cont_heading_table"> 
				<tr><td class="cont_heading_td"> 
			My Account Information			
</td></tr> 
			</table>								

 <table cellpadding="0" cellspacing="0" border="0" class="content_wrapper1_table"> 
 		<tr><td class="content_wrapper1_td">	
<table cellpadding="0" cellspacing="0" border="0"> 
     <tr> 
       <td class="smallText"><br><font color="#FF0000"><small><b>NOTE:</b></font></small> If you already have an account with us, please login at the <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/login.php?osCsid=ns1721t2mublesri1kr9948lg6"><u>login page</u></a>.</td> 
     </tr> 
     <tr> 
       <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> 
     </tr> 

	<table border="0" width="100%" cellspacing="0" cellpadding="2"> 
         <tr> 
           <td class="main indent_2"><b>Your Personal Details</b></td> 
          <td class="inputRequirement" align="right">* Required information</td> 
         </tr> 
       </table> 


	<table cellpadding="0" cellspacing="0" border="0" align="center" class="wrapper_pic_t infoBox_"> 
	<tr><td class="wrapper_pic_b"> 
		<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_l"> 
			<tr><td class="wrapper_pic_r"> 
				<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_tr"> 
					<tr><td class="wrapper_pic_bl infoBox__"> 
		<table border="0" cellspacing="4" cellpadding="2"> 
             <tr> 
               <td class="main b_width"><strong>Gender:</strong></td> 
               <td class="main radio"><input type="radio" name="gender" value="m"  style="background:url(images/spacer.gif) 0px 0px repeat;border:0px"> Male <input type="radio" name="gender" value="f"  style="background:url(images/spacer.gif) 0px 0px repeat;border:0px"> Female <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>First Name:</strong></td> 
               <td class="main width2_100"><input type="text" name="firstname"> <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>Last Name:</strong></td> 
               <td class="main width2_100"><input type="text" name="lastname"> <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>Date of Birth:</strong></td> 
               <td class="main width2_100"><input type="text" name="dob"> <span class="inputRequirement">* (eg. 05/21/1970)</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>E-Mail Address:</strong></td> 
               <td class="main width2_100"><input type="text" name="email_address"> <span class="inputRequirement">*</span></td> 
             </tr> 
           </table> 

</td></tr> 
				</table> 
			</td></tr> 
		</table> 
	</td></tr> 
</table> 


<div style="padding:0px 0px 4px 0px;"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></div> 
<table cellpadding="0" cellspacing="0" border="0"> 
     <tr> 
       <td class="main indent_2"><b>Company Details</b></td> 
     </tr> 
</table> 


	<table cellpadding="0" cellspacing="0" border="0" align="center" class="wrapper_pic_t infoBox_"> 
	<tr><td class="wrapper_pic_b"> 
		<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_l"> 
			<tr><td class="wrapper_pic_r"> 
				<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_tr"> 
					<tr><td class="wrapper_pic_bl infoBox__"> 
		<table border="0" cellspacing="4" cellpadding="2"> 
             <tr> 
               <td class="main b_width"><strong>Company Name:</strong></td> 
               <td class="main width2_100"><input type="text" name="company"> </td> 
             </tr> 
           </table> 

</td></tr> 
				</table> 
			</td></tr> 
		</table> 
	</td></tr> 
</table> 


<div style="padding:0px 0px 4px 0px;"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></div> 
   <table cellpadding="0" cellspacing="0" border="0"> 
  <tr> 
       <td class="main indent_2"><b>Your Address</b></td> 
     </tr> 
</table> 


	<table cellpadding="0" cellspacing="0" border="0" align="center" class="wrapper_pic_t infoBox_"> 
	<tr><td class="wrapper_pic_b"> 
		<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_l"> 
			<tr><td class="wrapper_pic_r"> 
				<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_tr"> 
					<tr><td class="wrapper_pic_bl infoBox__"> 
		<table border="0" cellspacing="4" cellpadding="2"> 
             <tr> 
               <td class="main b_width"><strong>Street Address:</strong></td> 
               <td class="main width2_100"><input type="text" name="street_address"> <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>Post Code:</strong></td> 
               <td class="main width2_100"><input type="text" name="postcode"> <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>City:</strong></td> 
               <td class="main width2_100"><input type="text" name="city"> <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>State/Province:</strong></td> 
               <td class="main width2_100"> 
<input type="text" name="state"> <span class="inputRequirement">*                </td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>Country:</strong></td> 
               <td class="main width2_100"><select name="country"><option value="" SELECTED>Please Select</option><option value="1">Afghanistan</option><option value="2">Albania</option><option value="3">Algeria</option><option value="4">American Samoa</option><option value="5">Andorra</option><option value="6">Angola</option><option value="7">Anguilla</option><option value="8">Antarctica</option><option value="9">Antigua and Barbuda</option><option value="10">Argentina</option><option value="11">Armenia</option><option value="12">Aruba</option><option value="13">Australia</option><option value="14">Austria</option><option value="15">Azerbaijan</option><option value="16">Bahamas</option><option value="17">Bahrain</option><option value="18">Bangladesh</option><option value="19">Barbados</option><option value="20">Belarus</option><option value="21">Belgium</option><option value="22">Belize</option><option value="23">Benin</option><option value="24">Bermuda</option><option value="25">Bhutan</option><option value="26">Bolivia</option><option value="27">Bosnia and Herzegowina</option><option value="28">Botswana</option><option value="29">Bouvet Island</option><option value="30">Brazil</option><option value="31">British Indian Ocean Territory</option><option value="32">Brunei Darussalam</option><option value="33">Bulgaria</option><option value="34">Burkina Faso</option><option value="35">Burundi</option><option value="36">Cambodia</option><option value="37">Cameroon</option><option value="38">Canada</option><option value="39">Cape Verde</option><option value="40">Cayman Islands</option><option value="41">Central African Republic</option><option value="42">Chad</option><option value="43">Chile</option><option value="44">China</option><option value="45">Christmas Island</option><option value="46">Cocos (Keeling) Islands</option><option value="47">Colombia</option><option value="48">Comoros</option><option value="49">Congo</option><option value="50">Cook Islands</option><option value="51">Costa Rica</option><option value="52">Cote D'Ivoire</option><option value="53">Croatia</option><option value="54">Cuba</option><option value="55">Cyprus</option><option value="56">Czech Republic</option><option value="57">Denmark</option><option value="58">Djibouti</option><option value="59">Dominica</option><option value="60">Dominican Republic</option><option value="61">East Timor</option><option value="62">Ecuador</option><option value="63">Egypt</option><option value="64">El Salvador</option><option value="65">Equatorial Guinea</option><option value="66">Eritrea</option><option value="67">Estonia</option><option value="68">Ethiopia</option><option value="69">Falkland Islands (Malvinas)</option><option value="70">Faroe Islands</option><option value="71">Fiji</option><option value="72">Finland</option><option value="73">France</option><option value="74">France, Metropolitan</option><option value="75">French Guiana</option><option value="76">French Polynesia</option><option value="77">French Southern Territories</option><option value="78">Gabon</option><option value="79">Gambia</option><option value="80">Georgia</option><option value="81">Germany</option><option value="82">Ghana</option><option value="83">Gibraltar</option><option value="84">Greece</option><option value="85">Greenland</option><option value="86">Grenada</option><option value="87">Guadeloupe</option><option value="88">Guam</option><option value="89">Guatemala</option><option value="90">Guinea</option><option value="91">Guinea-bissau</option><option value="92">Guyana</option><option value="93">Haiti</option><option value="94">Heard and Mc Donald Islands</option><option value="95">Honduras</option><option value="96">Hong Kong</option><option value="97">Hungary</option><option value="98">Iceland</option><option value="99">India</option><option value="100">Indonesia</option><option value="101">Iran (Islamic Republic of)</option><option value="102">Iraq</option><option value="103">Ireland</option><option value="104">Israel</option><option value="105">Italy</option><option value="106">Jamaica</option><option value="107">Japan</option><option value="108">Jordan</option><option value="109">Kazakhstan</option><option value="110">Kenya</option><option value="111">Kiribati</option><option value="112">Korea, Democratic People's Republic of</option><option value="113">Korea, Republic of</option><option value="114">Kuwait</option><option value="115">Kyrgyzstan</option><option value="116">Lao People's Democratic Republic</option><option value="117">Latvia</option><option value="118">Lebanon</option><option value="119">Lesotho</option><option value="120">Liberia</option><option value="121">Libyan Arab Jamahiriya</option><option value="122">Liechtenstein</option><option value="123">Lithuania</option><option value="124">Luxembourg</option><option value="125">Macau</option><option value="126">Macedonia, The Former Yugoslav Republic of</option><option value="127">Madagascar</option><option value="128">Malawi</option><option value="129">Malaysia</option><option value="130">Maldives</option><option value="131">Mali</option><option value="132">Malta</option><option value="133">Marshall Islands</option><option value="134">Martinique</option><option value="135">Mauritania</option><option value="136">Mauritius</option><option value="137">Mayotte</option><option value="138">Mexico</option><option value="139">Micronesia, Federated States of</option><option value="140">Moldova, Republic of</option><option value="141">Monaco</option><option value="142">Mongolia</option><option value="143">Montserrat</option><option value="144">Morocco</option><option value="145">Mozambique</option><option value="146">Myanmar</option><option value="147">Namibia</option><option value="148">Nauru</option><option value="149">Nepal</option><option value="150">Netherlands</option><option value="151">Netherlands Antilles</option><option value="152">New Caledonia</option><option value="153">New Zealand</option><option value="154">Nicaragua</option><option value="155">Niger</option><option value="156">Nigeria</option><option value="157">Niue</option><option value="158">Norfolk Island</option><option value="159">Northern Mariana Islands</option><option value="160">Norway</option><option value="161">Oman</option><option value="162">Pakistan</option><option value="163">Palau</option><option value="164">Panama</option><option value="165">Papua New Guinea</option><option value="166">Paraguay</option><option value="167">Peru</option><option value="168">Philippines</option><option value="169">Pitcairn</option><option value="170">Poland</option><option value="171">Portugal</option><option value="172">Puerto Rico</option><option value="173">Qatar</option><option value="174">Reunion</option><option value="175">Romania</option><option value="176">Russian Federation</option><option value="177">Rwanda</option><option value="178">Saint Kitts and Nevis</option><option value="179">Saint Lucia</option><option value="180">Saint Vincent and the Grenadines</option><option value="181">Samoa</option><option value="182">San Marino</option><option value="183">Sao Tome and Principe</option><option value="184">Saudi Arabia</option><option value="185">Senegal</option><option value="186">Seychelles</option><option value="187">Sierra Leone</option><option value="188">Singapore</option><option value="189">Slovakia (Slovak Republic)</option><option value="190">Slovenia</option><option value="191">Solomon Islands</option><option value="192">Somalia</option><option value="193">South Africa</option><option value="194">South Georgia and the South Sandwich Islands</option><option value="195">Spain</option><option value="196">Sri Lanka</option><option value="197">St. Helena</option><option value="198">St. Pierre and Miquelon</option><option value="199">Sudan</option><option value="200">Suriname</option><option value="201">Svalbard and Jan Mayen Islands</option><option value="202">Swaziland</option><option value="203">Sweden</option><option value="204">Switzerland</option><option value="205">Syrian Arab Republic</option><option value="206">Taiwan</option><option value="207">Tajikistan</option><option value="208">Tanzania, United Republic of</option><option value="209">Thailand</option><option value="210">Togo</option><option value="211">Tokelau</option><option value="212">Tonga</option><option value="213">Trinidad and Tobago</option><option value="214">Tunisia</option><option value="215">Turkey</option><option value="216">Turkmenistan</option><option value="217">Turks and Caicos Islands</option><option value="218">Tuvalu</option><option value="219">Uganda</option><option value="220">Ukraine</option><option value="221">United Arab Emirates</option><option value="222">United Kingdom</option><option value="223">United States</option><option value="224">United States Minor Outlying Islands</option><option value="225">Uruguay</option><option value="226">Uzbekistan</option><option value="227">Vanuatu</option><option value="228">Vatican City State (Holy See)</option><option value="229">Venezuela</option><option value="230">Viet Nam</option><option value="231">Virgin Islands (British)</option><option value="232">Virgin Islands (U.S.)</option><option value="233">Wallis and Futuna Islands</option><option value="234">Western Sahara</option><option value="235">Yemen</option><option value="236">Yugoslavia</option><option value="237">Zaire</option><option value="238">Zambia</option><option value="239">Zimbabwe</option></select> <span class="inputRequirement">*</span></td> 
             </tr> 
           </table> 

</td></tr> 
				</table> 
			</td></tr> 
		</table> 
	</td></tr> 
</table> 

<div style="padding:0px 0px 4px 0px;"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></div> 
<table cellpadding="0" cellspacing="0" border="0"> 
     <tr> 
       <td class="main indent_2"><b>Your Contact Information</b></td> 
     </tr> 
</table> 


	<table cellpadding="0" cellspacing="0" border="0" align="center" class="wrapper_pic_t infoBox_"> 
	<tr><td class="wrapper_pic_b"> 
		<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_l"> 
			<tr><td class="wrapper_pic_r"> 
				<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_tr"> 
					<tr><td class="wrapper_pic_bl infoBox__"> 
		<table border="0" cellspacing="4" cellpadding="2"> 
             <tr> 
               <td class="main b_width"><strong>Telephone Number:</strong></td> 
               <td class="main width2_100"><input type="text" name="telephone"> <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>Fax Number:</strong></td> 
               <td class="main width2_100"><input type="text" name="fax"> </td> 
             </tr> 
           </table> 

</td></tr> 
				</table> 
			</td></tr> 
		</table> 
	</td></tr> 
</table> 

<div style="padding:0px 0px 4px 0px;"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></div>				

	<table cellpadding="0" cellspacing="0" border="0" align="center" class="wrapper_pic_t infoBox_"> 
	<tr><td class="wrapper_pic_b"> 
		<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_l"> 
			<tr><td class="wrapper_pic_r"> 
				<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_tr"> 
					<tr><td class="wrapper_pic_bl infoBox__"> 
		<table border="0" cellspacing="4" cellpadding="2"> 
             <tr> 
               <td class="main b_width"><strong>Newsletter:</strong></td> 
               <td class="main radio"><input type="checkbox" name="newsletter" value="1"  style="background:url(images/spacer.gif) 0px 0px repeat;border:0px"> </td> 
             </tr> 
           </table> 

</td></tr> 
				</table> 
			</td></tr> 
		</table> 
	</td></tr> 
</table> 

<div style="padding:0px 0px 4px 0px;"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></div> 
<table cellpadding="0" cellspacing="0" border="0"> 
     <tr> 
       <td class="main indent_2"><b>Your Password</b></td> 
     </tr> 
</table> 


	<table cellpadding="0" cellspacing="0" border="0" align="center" class="wrapper_pic_t infoBox_"> 
	<tr><td class="wrapper_pic_b"> 
		<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_l"> 
			<tr><td class="wrapper_pic_r"> 
				<table cellpadding="0" cellspacing="0" border="0" class="wrapper_pic_tr"> 
					<tr><td class="wrapper_pic_bl infoBox__"> 
		<table border="0" cellspacing="4" cellpadding="2"> 
             <tr> 
               <td class="main b_width"><strong>Password:</strong></td> 
               <td class="main width2_100"><input type="password" name="password" maxlength="40"> <span class="inputRequirement">*</span></td> 
             </tr> 
             <tr> 
               <td class="main b_width"><strong>Password Confirmation:</strong></td> 
               <td class="main width2_100"><input type="password" name="confirmation" maxlength="40"> <span class="inputRequirement">*</span></td> 
             </tr> 
           </table> 

</td></tr> 
				</table> 
			</td></tr> 
		</table> 
	</td></tr> 
</table> 

<div style="padding:0px 0px 4px 0px;"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></div>				
<table cellpadding="0" cellspacing="5" border="0"><tr><td> 
		<table border="0" width="100%" cellspacing="0" cellpadding="2"> 
			<tr><td><input type="image" src="includes/languages/english/images/buttons/button_continue.gif" border="0" alt="Continue" title=" Continue "></td></tr> 
           </table> 

</td></tr></table>	
</td></tr>		
 </table>      		
</td></tr> 
 				</table> 
</form></td> 
<!-- body_text_eof //--> 
<td class="BOX_WIDTH_TD_RIGHT"><table border="0" class="BOX_WIDTH_RIGHT" cellspacing="0" cellpadding="0"> 
<!-- right_navigation //--> 
<!-- right_navigation_eof //--> 
   </table></td> 
 </tr> 
</table> 
<!-- body_eof //--> 

<!-- footer //--> 

</td></tr> 
<tr><td class="row_3"> 


			<table cellpadding="0" cellspacing="0" border="0" align="center" class="footer"> 
				<tr><td><table cellpadding="0" cellspacing="0" border="0" class="footer_td"><tr><td><img src="images/p1.gif" border="0" alt="" width="181" height="26"></td></tr></table></td> 
					<td class="footer2_td"><span><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/specials.php?osCsid=ns1721t2mublesri1kr9948lg6">Specials</a>    |    <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/advanced_search.php?osCsid=ns1721t2mublesri1kr9948lg6">Advanced Search</a>    |    <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/reviews.php?osCsid=ns1721t2mublesri1kr9948lg6">Reviews</a>    |    <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/account.php?osCsid=ns1721t2mublesri1kr9948lg6">My Account</a><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/create_account.php?osCsid=ns1721t2mublesri1kr9948lg6">Create an Account</a>    |    <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/logoff.php?osCsid=ns1721t2mublesri1kr9948lg6">Log Off</a><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/login.php?osCsid=ns1721t2mublesri1kr9948lg6">Log In</a></span><br>Copyright © 2010 <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/index.php?osCsid=ns1721t2mublesri1kr9948lg6">VoodooPC</a>    <b><a href="http://localhost/oscommerce-2.2rc2a/voodooPC/privacy.php?osCsid=ns1721t2mublesri1kr9948lg6">Privacy Notice</a>    |    <a href="http://localhost/oscommerce-2.2rc2a/voodooPC/conditions.php?osCsid=ns1721t2mublesri1kr9948lg6">Conditions of Use</a></b></td> 
					</tr> 
			</table> 
</td></tr></table> 
</td></tr></table><!-- footer_eof //--> 
</body> 
</html> 

 

 

 

 

thanks a lot...

 

 

regards,

 

Cupi

Link to comment
Share on other sites

See the Sloppy Words Cleaner contribution.

 

thanks a lot, Jack. It really helped me. Anyway I also need a tool to ensure that what my customer write numbers not alphabets in creating their account (e.g telephone number, fax number, zip code, etc.) thanks a lot!!

 

regards,

 

Cupi

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...