anchor.diff:      var phone = $("#phone").val();
       var ssn = $("#ssn").val();
       var age = $("#age").val();
  +    var firstName = $("#firstName").val();
  +    var lastName = $("lastName").val();
       if ((/(.+)@(.+){2,}\.(.+){2,}/.test(email)) || email=="" || email==null) { } else {       //this is copied and pasted from stack overflow
         alert("Please enter a valid email");
         return false;
  
positive.code:       alert("Please enter a valid social security number.\n###-##-####");
        return false;
      }
      if(/^\d{1,}$/.test(age)){} else{
        alert("Please enter a number for age.")
        return false;
      }
      return true;
  
negative.code:           <table class="table" style="margin-bottom: 0;border: none"> <!-- Rows and cols of the table -->
              <tbody>
              <tr> <!-- Row 1 -->
                <td>First Name*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="firstName" id="firstName" required="true" /> <!-- name can only be letters -->
                </td>
                <td>Last Name*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="lastName" id="lastName" required="true" /> <!-- name can only be letters -->
                </td>
              </tr>
              <tr> <!-- Row 2 -->
                <td>Age*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="age" id="age" required="true" /> <!-- age must be a number -->
                </td>
                <td>Address*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="address" required="true" /> <!-- only checked to see if it is empty -->
                </td>
              </tr>
              <tr> <!-- Row 3 -->
                <td>City*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="city" required="true" /> <!-- only checked to see if it is empty -->
                </td>
                <td>State*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="state" required="true" /> <!-- only checked to see if it is empty -->
                </td>
              </tr>
              <tr> <!-- Row 4 -->
                <td>Zipcode*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="zipcode" id="zipcode" required="true" /> <!-- must be of form ##### or #####-#### to pass -->
                </td>
                <td>Home Phone #*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="homePhone" id="phone" required="true" /> <!-- must be of form (###)-###-#### -->
                </td>
              </tr>
              <tr> <!-- Row 5 -->
                <td>Email*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="email" id="email" required="true" /> <!-- must be (any char)@(any two or more char).(any two or more char) to pass -->
                </td>
                <td>Insurance*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="insurance" required="true" /> <!-- only checked to see if it is empty -->
                </td>
              </tr>
              <tr> <!-- Row 6 -->
                <td>Social Security #*: </td>
                <td>
                  <form:input class='form-control' size='4' type='text' path="ssn" id="ssn" required="true" /> <!-- must be ###-##-#### -->
                </td>
                <td>Gender*: </td>
                <td>
                  <form:select path="gender" class="selectpicker" name="gender" > <!-- one of the other options than "select one" must be selected -->
                    <option>select one</option>
  