close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Email validation isn't showing error with invalid email

Thread began 2/14/2014 10:52 am by randy153228 | Last modified 2/14/2014 1:37 pm by randy153228 | 4206 views | 5 replies

randy153228

Email validation isn't showing error with invalid email

Using the Validation Toolkit, all validations are working properly, but I cannot get it to throw an error with an obvious invalid email address.

URL: http://www.extremeracingpics.com/registration.php

Source Code:
<?php require_once('../Connections/connUser.php'); ?>
<?php
if (!isset($_SESSION)) {
session_start();
}
?>
<?php require_once("../WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
<?php require_once("../WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
<?php require_once("../WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once("../WA_Universal_Email/Mail_for_Linux_PHP.php"); ?>
<?php require_once("../WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
function WA_RandomPassword($passwordLen, $upperCase, $lowerCase, $numbers, $specialChars)
{
$retval = "";
$rpgCharSet = "";

$rpgCharSet .= ($upperCase)?'ABCDEFGHIJKLMNOPQRSTUVWXYZ':'';
$rpgCharSet .= ($lowerCase)?'abcdefghijklmnopqrstuvwxyz':'';
$rpgCharSet .= ($numbers)?'0123456789':'';
$rpgCharSet .= $specialChars;

for ($i=0; $i<$passwordLen; $i++)
$retval .= substr($rpgCharSet, mt_rand(0, strlen($rpgCharSet)-1), 1);

return $retval;
}

if ($_SERVER["REQUEST_METHOD"] == "POST") {
$WAFV_Redirect = "";
$_SESSION['WAVT_registration_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateRQ(((isset($_POST["FirstName"]))?$_POST["FirstName"]:"") . "",false,1);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["LastName"]))?$_POST["LastName"]:"") . "",false,2);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["Username"]))?$_POST["Username"]:"") . "",true,3);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["Password"]))?$_POST["Password"]:"") . "",true,4);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["BillAddress1"]))?$_POST["BillAddress1"]:"") . "",false,5);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["BillCity"]))?$_POST["BillCity"]:"") . "",false,7);
$WAFV_Errors .= WAValidateEL(((isset($_POST["BillState"]))?$_POST["BillState"]:"") . "",2,2,true,8);
$WAFV_Errors .= WAValidateZC(((isset($_POST["BillZipCode"]))?$_POST["BillZipCode"]:"") . "",true,true,false,false,true,9);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["ShipAddress1"]))?$_POST["ShipAddress1"]:"") . "",false,10);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["ShipCity"]))?$_POST["ShipCity"]:"") . "",false,11);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["ShipState"]))?$_POST["ShipState"]:"") . "",false,12);
$WAFV_Errors .= WAValidateZC(((isset($_POST["ShipZipCode"]))?$_POST["ShipZipCode"]:"") . "",true,true,false,false,true,13);
$WAFV_Errors .= WAValidateEL(((isset($_POST["Phone1"]))?$_POST["Phone1"]:"") . "",3,3,false,14);
$WAFV_Errors .= WAValidateEL(((isset($_POST["Phone2"]))?$_POST["Phone2"]:"") . "",3,3,false,15);
$WAFV_Errors .= WAValidateEL(((isset($_POST["Phone3"]))?$_POST["Phone3"]:"") . "",3,3,false,16);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["PreferredContact"]))?$_POST["PreferredContact"]:"") . "",false,23);
$WAFV_Errors .= WAValidateEM(((isset($_POST["Email"]))?$_POST["Email"]:"") . "",false,6);
$WAFV_Errors .= WAValidateEL(((isset($_POST["SameShip"]))?$_POST["SameShip"]:"") . "",0,1,false,24);

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"registration");
}
}
if (isset($_POST["Register"])) // Trigger
{
// *** Redirect if username exists
$WA_connection = $connUser;
$WA_table = "Users";
//$WA_sessionName = "svUserID";
//$WA_accessName = "svAccessType";
if(!isset($_SESSION['refPage'])) {
if($_POST['Email'] != ''){
$WA_redirectURL = "members/activation.php";
} else {
$WA_redirectURL = "members/activation.php?ID=1";
}
} else {
$WA_redirectURL = "members/activation.php";
}
$randomNumber = WA_RandomPassword(8, false, false, true, "");
$WA_keepQueryString = false;
$WA_indexField = "UserID";
$profileUpdated = "N";
$WA_fieldNamesStr = "LastName|FirstName|Username|Password|Email|EmailYes|PreferredContact|BillAddress1|BillAddress2|BillCity|BillState|BillZipCode|ShipAddress1|ShipAddress2|ShipCity|ShipState|ShipZipCode|Phone1|Phone2|Phone3|Phone1Type|Phone2Type|Phone3Type|AccessType|Date|LastLogin|ProfileUpdated";
$WA_fieldValuesStr = "".((isset($_POST["LastName"]))?ucwords($_POST["LastName"]):"") ."" . "|" . "".((isset($_POST["FirstName"]))?ucwords($_POST["FirstName"]):"") ."" . "|" . "".((isset($_POST["Username"]))?$_POST["Username"]:"") ."" . "|" . "".((isset($_POST["Password"])?$_POST["Password"]:"")) ."" . "|" . "".((isset($_POST["Email"]))?$_POST["Email"]:"") ."" . "|" . "".((isset($_POST["EmailYes"]))?$_POST["EmailYes"]:"") ."" . "|" . "".((isset($_POST["PreferredContact"]))?$_POST["PreferredContact"]:"") ."" . "|" . "".((isset($_POST["BillAddress1"]))?$_POST["BillAddress1"]:"") ."" . "|" . "".((isset($_POST["BillAddress2"]))?$_POST["BillAddress2"]:"") ."" . "|" . "".((isset($_POST["BillCity"]))?$_POST["BillCity"]:"") ."" . "|" . "".((isset($_POST["BillState"]))?$_POST["BillState"]:"") ."" . "|" . "".((isset($_POST["BillZipCode"]))?$_POST["BillZipCode"]:"") ."" . "|" . "".((isset($_POST["ShipAddress1"]))?$_POST["ShipAddress1"]:"") ."" . "|" . "".((isset($_POST["ShipAddress2"]))?$_POST["ShipAddress2"]:"") ."" . "|" . "".((isset($_POST["ShipCity"]))?$_POST["ShipCity"]:"") ."" . "|" . "".((isset($_POST["ShipState"]))?$_POST["ShipState"]:"") ."" . "|" . "".((isset($_POST["ShipZipCode"]))?$_POST["ShipZipCode"]:"") ."" . "|" . "".((isset($_POST['Phone1']))?$_POST['Phone1']:"") ."" . "|" . "".((isset($_POST['Phone2']))?$_POST['Phone2']:"") ."" . "|" . "".((isset($_POST['Phone3']))?$_POST['Phone3']:"") ."" . "|" . "".((isset($_POST["Phone1Type"]))?$_POST["Phone1Type"]:"") ."" . "|" . "".((isset($_POST["Phone2Type"]))?$_POST["Phone2Type"]:"") ."" . "|" . "".((isset($_POST["Phone3Type"]))?$_POST["Phone3Type"]:"") ."" . "|" . "".((isset($randomNumber))?$randomNumber:"") ."" . "|" . "".date("Y-m-d h:i:s") ."" . "|" . "".date("Y-m-d h:i:s") ."". "|" . "".((isset($profileUpdated))?$profileUpdated:"") ."";
$WA_columnTypesStr = "',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,NULL,''|',none,NULL,''|',none";
$WA_fieldNames = explode("|", $WA_fieldNamesStr);
$WA_fieldValues = explode("|", $WA_fieldValuesStr);
$WA_columns = explode("|", $WA_columnTypesStr);
$WA_connectionDB = $database_connUser;
mysql_select_db($WA_connectionDB, $WA_connection);
if (!session_id()) session_start();
$insertParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);
$WA_Sql = "INSERT INTO `" . $WA_table . "` (" . $insertParamsObj->WA_tableValues . ") VALUES (" . $insertParamsObj->WA_dbValues . ")";
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
$userID = mysql_insert_id();
//$_SESSION[$WA_accessName] = "standard";
//$_SESSION['ProfileUpdated'] = "N";
if ($WA_redirectURL != "") {
if ($WA_keepQueryString && $WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
$WA_redirectURL .= ((strpos($WA_redirectURL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
}
$RecipientEmail = "".((isset($_POST["Email"]))?$_POST["Email"]:"") ."";include("../WA_Universal_Email/WAUE_registration.php");
header("Location: ".$WA_redirectURL);
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Randy Krohn - Finishline Productions">
<link rel="shortcut icon" href="/assets/ico/favicon.ico">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Dragboats.com - Drag Boat Racing's Premiere Website</title>
<!-- InstanceEndEditable -->
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" type="text/css" rel="stylesheet">
<link href="css/custom.css" type="text/css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="classifieds/css/jumbotron.css" type="text/css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="css/navbar-fixed-top.css" type="text/css" rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<!-- InstanceBeginEditable name="heading" -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="respond.min.js"></script>
<script>
function fbs_click(u, t) {
window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
return false;}
</script>
<script type="text/JavaScript">
<!--
$(document).ready(function() {

$('#SameShip').change(function() {
if($(this).is(":checked")) {
//var returnVal = confirm("Are you sure?");
//$(this).attr("checked", returnVal);
}
$("#ShipAddress1").val($("#BillAddress1").val());
$("#ShipAddress2").val($("#BillAddress2").val());
$("#ShipCity").val($("#BillCity").val());
//$("#ShipState").val($("#BillState"));
var state = $('#BillState option:selected').val();
$("#ShipState option[value='"+ state +"']").attr('selected','selected');
$("#ShipZipCode").val($("#BillZipCode").val());
});
$("#PasswordConfirm").blur(function () {
$("#passwordNoMatchMessage").remove();
if((this.value) != $("#Password").val()) {
$("#passwordNoMatch").append('<p id="passwordNoMatchMessage" class="text-center"><span class="glyphicon glyphicon-exclamation-sign"></span> The password fields DO NOT match. Please try again');
$("#passwordNoMatch").addClass('error');
$("#passwordNoMatch").show();
$("#PasswordConfirm").val('');
$("#PasswordConfirm").focus();
//alert("Passwords Don't Match");
} else {
$("#passwordNoMatch").append('<p id="passwordNoMatchMessage" class="text-center"><span class="glyphicon glyphicon-ok"></span> Your passwords match</p>');
$("#passwordNoMatch").addClass('success');
$("#passwordNoMatch").show();
}
});
$("#Email").blur(function() {
if($("#Email").val() != '') {//alert("triggering search");
$("#emailDupMessage").remove();
$("#EmailYesRow").show();
$("#EmailYes").prop('checked', true);
getCustomerInfo('Email');
}
});
$("#Username").blur(function() {
if($("#Username").val() != '') { //alert("triggering search");
$("#foundUsernameResponse").hide();
$("#usernameDupMessage").remove();
getCustomerInfo('Username');
}
});
});
//-->
</script>
<script language="javascript" type="text/javascript">

function createRequestObject() {

var req;

if(window.XMLHttpRequest){
// Firefox, Safari, Opera...
req = new XMLHttpRequest();
} else if(window.ActiveXObject) {
// Internet Explorer 5+
req = new ActiveXObject("Microsoft.XMLHTTP");
} else {
// There is an error creating the object,
// just as an old browser is being used.
alert('There was a problem creating the XMLHttpRequest object');
}

return req;

}

// Make the XMLHttpRequest object
var http = createRequestObject();

function sendRequest(act, type) {

// Open PHP script for requests
http.open('get', 'lookupCustomer.php?' + type + '=' + act);
http.onreadystatechange = handleResponse;
http.send(null);

}

function handleResponse() {

if(http.readyState == 4 && http.status == 200){
var response = http.responseText;
var temp = new Array();
temp = response.split("||")

var foundUserResponse = document.getElementById('foundEmailResponse');
var foundUsernameResponse = document.getElementById('foundUsernameResponse');
$(foundUserResponse).hide();
$(foundUsernameResponse).hide();
if(temp[1] >= 1) {
// UPDATE ajaxTest content
//If Email is found in system
if(temp[0] == "Email"){
$("#EmailYesRow").hide();
var email = document.getElementById("Email").value;
$("#foundEmailResponse").html('<p id="emailDupMessage" class="text-center">' + $("#Email").val() + ' has already been registered with Dragboats.com</p><p class="text-center"><a href="forgotPassword.php?Email=' + $("#Email").val() + '">Click Here</a> - if you have just forgotten your login info and we will send it to you, register with a different email.</p>');
//$("#Email").off("blur");
$("#foundEmailResponse").show();
$("#Email").val('');
$("#EmailYesRow").hide();
$("#Email").focus();
} //End Email message
//If Username is found in the system
if(temp[0] == "Username") {
var username = document.getElementById("Username").value;
$("#foundUsernameResponse").html('<p id="usernameDupMessage" class="text-center"><strong>' + $("#Username").val() + ' is already taken!</strong><br><br><a href="forgotPassword.php">Click Here</a> - if you have just forgotten your login info and we will send it to you,<br>or choose a different username.</p>');
$("#foundUsernameResponse").show();
$("#Username").val('');
$("#Username").focus();
}//End Username Message
}
}
if((temp[0] == "Username") && (temp[1] === undefined)) {
$("#Password").focus();
}
if((temp[0] == "Email") && (temp[1] === undefined)) {
$("#EmailYes").focus();
}
}
function getCustomerInfo(type) {
var searchType = document.getElementById(type).value;
sendRequest(searchType, type);
}

// copyright 1999 Idocs, Inc. http://www.idocs.com
// Distribute this script freely but keep this notice in place
function numbersonly(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
key = window.event.keyCode;
else if (e)
key = e.which;
else
return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) ||
(key==9) || (key==13) || (key==27) )
return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
return true;

// decimal point jump
else if (dec && (keychar == "."))
{
myfield.form.elements[dec].focus();
return false;
}
else
return false;
}
</script>
<!-- InstanceEndEditable -->
</head>

<body>



<div class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Dragboats.com</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="index.php"><span class="glyphicon glyphicon-home"></span> Home</a></li>
<li class="dropdown">
<a href="classifeds/index.php" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-tag"></span> Ads <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="file:///C|/Users/Randy/Documents/Websites/Bootstrap/public_html/<?php if(isset($_SESSION['svUserID'])) { echo "logout"; } else { echo "login"; } ?>.php"><?php if(isset($_SESSION['svUserID'])) { echo "Logout"; } else { echo "Login"; } ?></a></li>
<li><a href="classifieds/placeAd.php">Place An Ad</a></li>
<li><a href="classifieds/index.php">Show All Ads</a></li>
<li><a href="classifieds/rates.php">Ad Rates</a></li>
<li><a href="FAQ.php?id=1">FAQ</a></li>
<li><a href="docs/tutorials.php?id=1">Tutorials</a></li>
</ul>
</li>
<li><a href="merch/index.php" title="Gear"><span class="glyphicon glyphicon-shopping-cart"></span> Gear</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-info-sign"></span> Info <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="gallery/index.php">Pictures</a></li>
<li><a href="videos.php">Videos</a></li>
<li><a href="schedule.php">Schedules</a></li>
<li class="divider"></li>
<li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
<li><a href="contact.php"><span class="glyphicon glyphicon-info-sign"></span> Contact</a></li>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://<?php echo $_SERVER['SERVER_NAME']; ?>/<?php if(isset($_SESSION['svUserID'])) { echo "logout"; } else { echo "login"; } ?>.php"><?php if(isset($_SESSION['svUserID'])) { echo "Logout"; } else { echo "Login"; } ?></a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<!-- Main Content core JavaScript
================================================== -->
<!-- InstanceBeginEditable name="MainContent" -->
<div class="container">
<!--Div to hold the breadcrumbs-->
<div>
<ol class="breadcrumb">
<li><a href="../index.php">Home</a></li>
<li>User Registration</li>
</ol>
</div>
<!--End of breadcrumbs-->
<!--Start the Row to hold columns-->
<div class="row">
<!--Start The Wide Column-->
<div class="col-sm-8 nestedBox">
<!--Loop Start goes here-->
<!--Start The Holder box-->
<div class="ad_box">
<!--Start Holder Box Heading-->
<div class="boxHeading">
<p>Member Registration</p>
</div>
<!--End Holder Box Heading-->
<div><!--Clear fix to make the picture not run off the bottom-->
<p>Registering to use Dragboats.com Classifieds and purchasing merchandise is simple. Complete the form below with the appropriate information (be sure to include information that is required) and click the "Register" button at the bottom, and you will be ready to go in just minutes. If you have having any trouble, be sure to scroll to the right of the screen to find an FAQ section that may answer any questions you may. Fields marked are required.
</p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "" . ",") !== false || "" == "")) {
if (!(false)) {
?><div style="margin: 0 10px 0 12px" class="alert-message error"><p class="text-center">There were errors during your registration process. Be sure to fill in the areas marked with red.</p><p class="text-center">Also, for security purposes, you will need to re-input your password.</p></div>
<?php //WAFV_Conditional registration.php registration( :)
}
}
}?>
<form method="post" name="WAATKRegistrationForm" id="WAATKRegistrationForm" role="form" class="clean">
<fieldset><legend>Login Information</legend>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
echo ' has-error"'; }}} ?>">
<p><label for="FirstName">First Name:</label>
<input type="text" name="FirstName" id="FirstName" value="<?php echo(ValidatedField("registration","FirstName")) ?>" class="form-control" />
</p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<p class="required"><span class="glyphicon glyphicon-exclamation-sign"></span> First Name is Required</p>
<?php //WAFV_Conditional registration.php registration(1:)
}
}
}?>
</div>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "2" . ",") !== false || "2" == "")) {
if (!(false)) {
echo ' has-error"'; }}} ?>">
<p>
<label for="LastName">Last Name:</label>
<input type="text" name="LastName" id="LastName" value="<?php echo trim((ValidatedField("registration","LastName"))) ?>" class="form-control"/></p><?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "2" . ",") !== false || "2" == "")) {
if (!(false)) {
?>
<p class="required"><span class="glyphicon glyphicon-exclamation-sign"></span> Last Name is Required</p>
<?php //WAFV_Conditional registration.php registration(2:)
}
}
}?>
</div>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "3" . ",") !== false || "2" == "")) {
if (!(false)) {
echo ' has-error"'; }}} ?>"><p>
<label for="Username">Username (No spaces allowed):</label>
<input type="text" name="Username" id="Username" value="<?php echo(ValidatedField("registration","Username")) ?>" class="form-control" onBlur="getCustomerInfo('Username')"/></p><?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "3" . ",") !== false || "3" == "")) {
if (!(false)) {
?>
<p class="required"><span class="glyphicon glyphicon-exclamation-sign"></span> Username is Required</p>
<?php //WAFV_Conditional registration.php registration(3:)
}
}
}?></div>
<div id="foundUsernameResponse" style="display:none; margin: 0 10px 0 12px" class="alert-message error"></div>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "4" . ",") !== false || "4" == "")) {
if (!(false)) {
echo ' has-error"'; }}} ?>">
<p>
<label for="Password">Password (No spaces allowed):</label>
<input type="password" name="Password" id="Password" value="" class="form-control"></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "4" . ",") !== false || "4" == "")) {
if (!(false)) {
?>
<p class="required"><span class="glyphicon glyphicon-exclamation-sign"></span> Password is Required</p>
<?php //WAFV_Conditional registration.php registration(4:)
}
}
}?>
</div>
<div class="form-group">
<p>
<label for="PasswordConfirm">Confirm Password:</label>
<input name="PasswordConfirm" id="PasswordConfirm" type="password" class="form-control"></p>
</p>
</div>
<div id="passwordNoMatch" style="display:none; margin: 0 10px 0 12px" class="alert-message"></div>
<div class="form-group<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "6" . ",") !== false || "6" == "")) {
if (!(false)) {
echo ' has-error"'; }}} ?>">
<p>
<label for="Email">Email:</label>
<input type="text" name="Email" id="Email" value="<?php echo(ValidatedField("registration","Email")) ?>" class="form-control"/>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "6" . ",") !== false || "6" == "")) {
if (!(false)) { ?></p>
<p class="required"><span class="glyphicon glyphicon-exclamation-sign"></span> Email must be in this format you@somewhere.com</p>
<?php //WAFV_Conditional registration.php registration(6:)
}
}
}
?>
<p class="help-block"><a href="javascript:void(0);" id="Email Info" data-toggle="popover" data-placement="top" data-content="Although you do not need to have an email address to place an ad, or buy merchandise from Dragboats.com, you will not be able to receive an email receipt for your transaction, nor will you be able to retrieve your login information online - a phone call will be required to retrieve it." title data-original-title="Email Info">What if I don't have an email address?</a></p>
</p>
</div>
<div id="EmailYesRow" style="display:none">
<p>
<label for="EmailYesNo">Do you want to have your email listed with classified ads?</label><br />
<input <?php if (!(strcmp((ValidatedField("registration","EmailYes")),"Y"))) {echo "checked=\"checked\"";} ?> name="EmailYes" type="checkbox" id="EmailYes" value="Y"/> Yes I Do!</p>
</div>
<div id="foundEmailResponse" style="display:none; margin: 0 10px 0 12px" class="alert-message error"></div>
<p>&nbsp;</p>
</fieldset>
<fieldset>
<legend>Billing Information - <a href="javascript:void(0);" id="billingRequire" data-toggle="popover" data-placement="top" data-content="Dragboats.com requires users to have billing information on file so that when a user places, updated, or renews an ad, or wants to purchase merchandise, the information is already entered for them in our credit card and PayPal forms." title data-original-title="Required Billing Address">Why do you need this?</a></legend>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "5" . ",") !== false || "5" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p><label for="BillingAddress1">Billing Address Line 1:</label>
<input type="text" name="BillAddress1" id="BillAddress1" value="<?php echo(ValidatedField("registration","BillAddress1")) ?>" class="form-control" /></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "5" . ",") !== false || "5" == "")) {
if (!(false)) {
?>
<p class="required">Billing Address is Required</p>
<?php //WAFV_Conditional registration.php registration(5:)
}
}
} ?>
</div>
<p>
<label for="BillingAddress2">Billing Address Line 2</label>
<input type="text" name="BillAddress2" id="BillAddress2" value="<?php echo(ValidatedField("registration","BillAddress2")) ?>" class="form-control" /></td>
</p>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "7" . ",") !== false || "7" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p>
<label for="BillingCity">Billing City:</label>
<input type="text" name="BillCity" id="BillCity" value="<?php echo(ValidatedField("registration","BillCity")) ?>" class="form-control" /></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "7" . ",") !== false || "7" == "")) {
if (!(false)) {
?>
<p class="required">Billing City is Required</p>
<?php //WAFV_Conditional registration.php registration(7:)
}
}
}?>
</div>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "8" . ",") !== false || "8" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p>
<label for="BillState">Billing State:</label>
<select name="BillState" class="form-control" id="BillState">
<option value="" selected <?php if (!(strcmp("", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Choose a State
<option value="AL" <?php if (!(strcmp("AL", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Alabama
<option value="AK" <?php if (!(strcmp("AK", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Alaska
<option value="AZ" <?php if (!(strcmp("AZ", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Arizona
<option value="AR" <?php if (!(strcmp("AR", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Arkansas
<option value="CA" <?php if (!(strcmp("CA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>California
<option value="CO" <?php if (!(strcmp("CO", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Colorado
<option value="CT" <?php if (!(strcmp("CT", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Connecticut
<option value="DE" <?php if (!(strcmp("DE", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Delaware
<option value="FL" <?php if (!(strcmp("FL", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Florida
<option value="GA" <?php if (!(strcmp("GA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Georgia
<option value="HI" <?php if (!(strcmp("HI", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Hawaii
<option value="ID" <?php if (!(strcmp("ID", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Idaho
<option value="IL" <?php if (!(strcmp("IL", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Illinois
<option value="IN" <?php if (!(strcmp("IN", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Indiana
<option value="IA" <?php if (!(strcmp("IA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Iowa
<option value="KS" <?php if (!(strcmp("KS", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Kansas
<option value="KY" <?php if (!(strcmp("KY", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Kentucky
<option value="LA" <?php if (!(strcmp("LA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Louisiana
<option value="ME" <?php if (!(strcmp("ME", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Maine
<option value="MD" <?php if (!(strcmp("MD", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Maryland
<option value="MA" <?php if (!(strcmp("MA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Massachusetts
<option value="MI" <?php if (!(strcmp("MI", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Michigan
<option value="MN" <?php if (!(strcmp("MN", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Minnesota
<option value="MS" <?php if (!(strcmp("MS", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Mississippi
<option value="MO" <?php if (!(strcmp("MO", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Missouri
<option value="MT" <?php if (!(strcmp("MT", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Montana
<option value="NE" <?php if (!(strcmp("NE", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Nebraska
<option value="NV" <?php if (!(strcmp("NV", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Nevada
<option value="NH" <?php if (!(strcmp("NH", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>New Hampshire
<option value="NJ" <?php if (!(strcmp("NJ", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>New Jersey
<option value="NM" <?php if (!(strcmp("NM", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>New Mexico
<option value="NY" <?php if (!(strcmp("NY", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>New York
<option value="NC" <?php if (!(strcmp("NC", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>North Carolina
<option value="ND" <?php if (!(strcmp("ND", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>North Dakota
<option value="OH" <?php if (!(strcmp("OH", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Ohio
<option value="OK" <?php if (!(strcmp("OK", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Oklahoma
<option value="OR" <?php if (!(strcmp("OR", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Oregon
<option value="PA" <?php if (!(strcmp("PA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Pennsylvania
<option value="OR" <?php if (!(strcmp("OR", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Oregon
<option value="RI" <?php if (!(strcmp("RI", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Rhode Island
<option value="SC" <?php if (!(strcmp("SC", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>South Carolina
<option value="SD" <?php if (!(strcmp("SD", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>South Dakota
<option value="TN" <?php if (!(strcmp("TN", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Tennessee
<option value="TX" <?php if (!(strcmp("TX", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Texas
<option value="UT" <?php if (!(strcmp("UT", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Utah
<option value="VT" <?php if (!(strcmp("VT", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Vermont
<option value="VA" <?php if (!(strcmp("VA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Virginia
<option value="WA" <?php if (!(strcmp("WA", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Washington
<option value="WV" <?php if (!(strcmp("WV", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>West Virginia
<option value="WI" <?php if (!(strcmp("WI", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Wisconsin
<option value="WY" <?php if (!(strcmp("WY", (ValidatedField("registration","BillState"))))) {echo "selected=\"selected\"";} ?>>Wyoming
</select></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "8" . ",") !== false || "8" == "")) {
if (!(false)) {
?>
<p class="required">You must select a state for you billing address</p>
<?php //WAFV_Conditional registration.php registration(8:)
}
}
}
?>
</div>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "9" . ",") !== false || "9" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p>
<label for="BillingZipCode">Billing Zip Code:</label>
<input type="text" name="BillZipCode" id="BillZipCode" value="<?php echo(ValidatedField("registration","BillZipCode")) ?>" class="form-control" onkeypress="return numbersonly(this,event)" /></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "9" . ",") !== false || "9" == "")) {
if (!(false)) {
?>
<p class="required">You must include your billing address Zip Code</p>
<?php //WAFV_Conditional registration.php registration(9:)
}
}
}?>

</div><p>&nbsp;</p>
</fieldset>
<fieldset>
<legend>Shipping Information - <a href="javascript:void(0);" id="shippingRequire" data-toggle="popover" data-placement="top" data-content="Dragboats.com requires users to have shipping information on file so that when a user places, updated, or renews an ad, or wants to purchase merchandise, the information is already entered for them in our credit card and PayPal forms." title data-original-title="Shipping Info">Why do you need this?</a></legend>
<p><input <?php if (!(strcmp((ValidatedField("registration","SameShip")),"Y"))) {echo "checked=\"checked\"";} ?> name="SameShip" type="checkbox" id="SameShip" value="Y" onClick="sameShip(this)"/>
My Shipping Information is the same as the Billing Information</p>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "10" . ",") !== false || "10" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p>
<label for="ShippingAddress1">Shipping Address Line 1:</label>
<input type="text" name="ShipAddress1" id="ShipAddress1" value="<?php echo(ValidatedField("registration","ShipAddress1")) ?>" class="form-control" /></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "10" . ",") !== false || "10" == "")) {
if (!(false)) {
?>
<p class="required">Shipping Address is Required</p>
<?php //WAFV_Conditional registration.php registration(10:)
}
}
}?>
</div>
<p>
<label for="ShipAddress2">Shipping Address Line 2</label>
<input type="text" name="ShipAddress2" id="ShipAddress2" value="<?php echo(ValidatedField("registration","ShipAddress2")) ?>" class="form-control" />
</p>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "11" . ",") !== false || "11" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p>
<label for="ShipCity">Shipping City:</label>
<input type="text" name="ShipCity" id="ShipCity" value="<?php echo(ValidatedField("registration","ShipCity")) ?>" class="form-control" /></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "11" . ",") !== false || "11" == "")) {
if (!(false)) {
?>
<p class="required">Shipping City is Required</p>
<?php //WAFV_Conditional registration.php registration(11:)
}
}
}?>
</div>
<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "12" . ",") !== false || "12" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p>
<label for="ShipState">Shipping State:</label>
<select name="ShipState" id="ShipState" class="form-control">
<option value="" selected <?php if (!(strcmp("", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Choose a State
<option value="AL" <?php if (!(strcmp("AL", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Alabama
<option value="AK" <?php if (!(strcmp("AK", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Alaska
<option value="AZ" <?php if (!(strcmp("AZ", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Arizona
<option value="AR" <?php if (!(strcmp("AR", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Arkansas
<option value="CA" <?php if (!(strcmp("CA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>California
<option value="CO" <?php if (!(strcmp("CO", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Colorado
<option value="CT" <?php if (!(strcmp("CT", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Connecticut
<option value="DE" <?php if (!(strcmp("DE", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Delaware
<option value="FL" <?php if (!(strcmp("FL", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Florida
<option value="GA" <?php if (!(strcmp("GA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Georgia
<option value="HI" <?php if (!(strcmp("HI", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Hawaii
<option value="ID" <?php if (!(strcmp("ID", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Idaho
<option value="IL" <?php if (!(strcmp("IL", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Illinois
<option value="IN" <?php if (!(strcmp("IN", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Indiana
<option value="IA" <?php if (!(strcmp("IA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Iowa
<option value="KS" <?php if (!(strcmp("KS", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Kansas
<option value="KY" <?php if (!(strcmp("KY", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Kentucky
<option value="LA" <?php if (!(strcmp("LA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Louisiana
<option value="ME" <?php if (!(strcmp("ME", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Maine
<option value="MD" <?php if (!(strcmp("MD", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Maryland
<option value="MA" <?php if (!(strcmp("MA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Massachusetts
<option value="MI" <?php if (!(strcmp("MI", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Michigan
<option value="MN" <?php if (!(strcmp("MN", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Minnesota
<option value="MS" <?php if (!(strcmp("MS", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Mississippi
<option value="MO" <?php if (!(strcmp("MO", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Missouri
<option value="MT" <?php if (!(strcmp("MT", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Montana
<option value="NE" <?php if (!(strcmp("NE", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Nebraska
<option value="NV" <?php if (!(strcmp("NV", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Nevada
<option value="NH" <?php if (!(strcmp("NH", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>New Hampshire
<option value="NJ" <?php if (!(strcmp("NJ", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>New Jersey
<option value="NM" <?php if (!(strcmp("NM", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>New Mexico
<option value="NY" <?php if (!(strcmp("NY", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>New York
<option value="NC" <?php if (!(strcmp("NC", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>North Carolina
<option value="ND" <?php if (!(strcmp("ND", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>North Dakota
<option value="OH" <?php if (!(strcmp("OH", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Ohio
<option value="OK" <?php if (!(strcmp("OK", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Oklahoma
<option value="OR" <?php if (!(strcmp("OR", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Oregon
<option value="PA" <?php if (!(strcmp("PA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Pennsylvania
<option value="OR" <?php if (!(strcmp("OR", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Oregon
<option value="RI" <?php if (!(strcmp("RI", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Rhode Island
<option value="SC" <?php if (!(strcmp("SC", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>South Carolina
<option value="SD" <?php if (!(strcmp("SD", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>South Dakota
<option value="TN" <?php if (!(strcmp("TN", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Tennessee
<option value="TX" <?php if (!(strcmp("TX", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Texas
<option value="UT" <?php if (!(strcmp("UT", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Utah
<option value="VT" <?php if (!(strcmp("VT", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Vermont
<option value="VA" <?php if (!(strcmp("VA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Virginia
<option value="WA" <?php if (!(strcmp("WA", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Washington
<option value="WV" <?php if (!(strcmp("WV", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>West Virginia
<option value="WI" <?php if (!(strcmp("WI", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Wisconsin
<option value="WY" <?php if (!(strcmp("WY", (ValidatedField("registration","ShipState"))))) {echo "selected=\"selected\"";} ?>>Wyoming
</select></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "12" . ",") !== false || "12" == "")) {
if (!(false)) {
?>
<p class="required">Shipping State is Required</p>
<?php //WAFV_Conditional registration.php registration(12:)
}
}
}?></div>

<div class="form-group<?php if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "13" . ",") !== false || "13" == "")) {
if (!(false)) {
echo ' has-error'; }}} ?>"/>
<p>
<label for="ShippingZipCode">Shipping Zip Code:</label>
<input type="text" name="ShipZipCode" id="ShipZipCode" value="<?php echo(ValidatedField("registration","ShipZipCode")) ?>" class="form-control" onkeypress="return numbersonly(this,event)"/></p>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "13" . ",") !== false || "13" == "")) {
if (!(false)) {
?>
<p class="required">You must include your billing address Zip Code</p>
<?php //WAFV_Conditional registration.php registration(13:)
}
}
}?>

</div>
<p>&nbsp;</p></fieldset>
<fieldset>
<legend>Contact Information</legend><p>
<div class="row">
<div class="col-lg-4">
<p><label for="Phone1">Primary Phone #:</label>
<input name="Phone1" type="text" <?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "14" . ",") !== false || "14" == "")) {
if (!(false)) { echo 'class="Error"'; }}} ?> id="Phone1_1" value="<?php echo(ValidatedField("registration","Phone1_1")) ?>" class="form-control col-lg-4" maxlength="10" onkeypress="return numbersonly(this,event)"/> </p>
</div>
<div class="col-lg-4">
<p><label for="Phone1Type">Primary Phone Type:</label>
<select name="Phone1Type" id="Phone1Type" class="form-control col-lg-4">
<option value="Home" <?php if (!(strcmp("Home", (ValidatedField("registration","Phone1Type"))))) {echo "selected=\"selected\"";} ?>>Home</option>
<option value="Work" <?php if (!(strcmp("Work", (ValidatedField("registration","Phone1Type"))))) {echo "selected=\"selected\"";} ?>>Work</option>
<option value="Cell" <?php if (!(strcmp("Cell", (ValidatedField("registration","Phone1Type"))))) {echo "selected=\"selected\"";} ?>>Cell</option>
</select></p>
</div>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "14" . ",") !== false || "14" == "")) {
if (!(false)) {
?>
<span class="errorText">Phone Number is incomplete</span>
<?php //WAFV_Conditional registration.php registration(14,15,16:)
}
}
}?></div>
<div class="row">
<div class="col-lg-4">
<p><label for="Phone2">2nd Phone #:</label>
<input name="Phone2" type="text" <?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "15" . ",") !== false || "15" == "")) {
if (!(false)) { echo 'class="Error"'; }}} ?> id="Phone2" value="<?php echo(ValidatedField("registration","Phone2")) ?>" class="form-control col-lg-4" maxlength="10" onkeypress="return numbersonly(this,event)"/> </p>
</div>
<div class="col-lg-4">
<p><label for="Phone2Type">2nd Phone Type:</label>
<select name="Phone2Type" id="Phone1Type" class="form-control col-lg-4">
<option value="Home" <?php if (!(strcmp("Home", (ValidatedField("registration","Phone2Type"))))) {echo "selected=\"selected\"";} ?>>Home</option>
<option value="Work" <?php if (!(strcmp("Work", (ValidatedField("registration","Phone2Type"))))) {echo "selected=\"selected\"";} ?>>Work</option>
<option value="Cell" <?php if (!(strcmp("Cell", (ValidatedField("registration","Phone2Type"))))) {echo "selected=\"selected\"";} ?>>Cell</option>
</select></p>
</div>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "15" . ",") !== false || "15" == "") || (strpos((",".ValidatedField("registration","registration").","), "," . "15" . ",") !== false || "15" == "")) {
if (!(false)) {
?>
<span class="errorText">Phone Number is incomplete</span>
<?php //WAFV_Conditional registration.php registration(14,15,16:)
}
}
}?></div>
<div class="row">
<div class="col-lg-4">
<p><label for="Phone3">Third Phone #:</label>
<input name="Phone3" type="text" <?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "16" . ",") !== false || "16" == "")) {
if (!(false)) { echo 'class="Error"'; }}} ?> id="Phone3" value="<?php echo(ValidatedField("registration","Phone3")) ?>" class="form-control col-lg-4" maxlength="10" onkeypress="return numbersonly(this,event)"/></p>
</div>
<div class="col-lg-4">
<p><label for="Phone3Type">Third Phone Type:</label>
<select name="Phone3Type" id="Phone1Type" class="form-control col-lg-4">
<option value="Home" <?php if (!(strcmp("Home", (ValidatedField("registration","Phone3Type"))))) {echo "selected=\"selected\"";} ?>>Home</option>
<option value="Work" <?php if (!(strcmp("Work", (ValidatedField("registration","Phone3Type"))))) {echo "selected=\"selected\"";} ?>>Work</option>
<option value="Cell" <?php if (!(strcmp("Cell", (ValidatedField("registration","Phone3Type"))))) {echo "selected=\"selected\"";} ?>>Cell</option>
</select></p>
</div>
<?php
if (ValidatedField("registration","registration")) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "16" . ",") !== false || "16" == "")) {
if (!(false)) {
?>
<span class="errorText">Phone Number is incomplete</span>
<?php //WAFV_Conditional registration.php registration(14,15,16:)
}
}
}?></div>
<p>
<label for="PreferredContact">Preferred Contact:</label>
<br>
<select name="PreferredContact" id="PreferredContact" class="form-control col-xs-3">
<option value="Email" selected="selected" <?php if (!(strcmp("Email", (ValidatedField("registration","PreferredContact"))))) {echo "selected=\"selected\"";} ?>>Email</option>
<option value="Phone" <?php if (!(strcmp("Phone", (ValidatedField("registration","PreferredContact"))))) {echo "selected=\"selected\"";} ?>>Phone</option>
</select>
<input type="hidden" name="AccessType" id="AccessType" value="standard" />
<input name="ProfileUpdated" type="hidden" id="ProfileUpdated" value="Y" />
<input type="hidden" name="Date" id="Date" value="<?php echo time(); ?>" />
<input name="MM_insert" type="hidden" id="MM_insert" value="MM_insert" />

</p>

</fieldset>
<p>

<label for=""></label>
<button type="submit" name="Register" id="Register" value="Register" alt="Register" class="btn btn-default"/>Register</button>
</p>
</form>
</div>
</div>
<!--End of Holder box-->
<!--Loop goes here-->
</div>
<!--End of Wide Column-->
<!--Start The Narrow Column-->
<div class="col-sm-4">
<!--Facebook and Youtube Icons-->
<p class="centered"><img src="../images/facebook_rt.png" width="170" height="60" alt="Like Us On Facebook" title="Like Us On Facebook" /></p>
<p class="centered"><img src="../images/youtube.png" width="170" height="77" alt="Subscribe to our YouTube Channel" title="Subscribe to our YouTube Channel"/></p>
<!--End of Facebook & YouTube Icons-->
<!--Small Holder box-->
<div class="nestedBox ad_box">
<!--Start Small Holder Box Heading-->
<div class="boxHeading">
<p>Heading Text</p>
<p class="details">Detail Text</p>
</div>
<!--End Small Holder Box Heading-->
<p>Text For Box Goes Here</p>
</div>
<!--End of Small Holder Box-->
</div>
<!--End of Narrow Column-->
</div>
<!--End of breadcrumbs-->
</div>
<!-- InstanceEndEditable -->

<div class="container well well-sm">
<div class="col-md-3 col-sm-6 col-xs-6 small footerSeparater">
<ul class="list-unstyled footer text-center">
<li>Classifieds<li>
<li><a href="registration.php">Register</a></li>
<li><a href="classifieds/placeAd.php">Place An Ad</a></li>
<li><a href="classifieds/rates.php">Ad Rates</a></li>
<li><a href="FAQ.php?id=1">FAQ</a></li>
</ul>
</div>
<div class="col-md-3 col-sm-6 col-xs-6 small text-center">
<ul class="list-unstyled footer">
<li>Merchandise<li>
<li><a href="merch/stickers.php">Stickers</a></li>
<li><a href="merch/posters.php">Posters</a></li>
<li><a href="merch/apparel.php">Apparel</a></li>
<li><a href="merch/pics.php">Special Edition Pics</a></li>
<li><a href="merch/videos.php">Videos & DVD's</a></li>
</ul>
</div>
<div class="col-md-3 col-sm-6 col-xs-6 small text-center footerSeparater">
<ul class="list-unstyled footer">
<li>Services<li>
<li><a href="#">Website Design</a></li>
<li><a href="#">Graphic Design</a></li>
<li><a href="#">Photography</a></li>
<li><a href="#">Logos</a></li>
</ul>
</div>
<div class="col-md-3 col-sm-6 col-xs-6 small text-center">
<ul class="list-unstyled footer">
<li>FAQ<li>
<li><a href="#">Return Policy</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Product Markdown</a></li>
<li><a href="#">Product Pages</a></li>
</ul>
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col-lg-12">
<div class="col-md-8">
<a href="docs/usage.htm">Terms of Service</a>
<a href="docs/privacy.htm">Privacy</a>
<a href="docs/returns">Return Policy</a>
</div>
<div class="col-md-4">
<p class="muted pull-right">© <?php echo date("Y"); ?> Finishline Productions. All rights reserved</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
<script src="js/docs.min.js"></script>
</body>
<!-- InstanceEnd --></html>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...