Password Validation/Confirmation

I've tried several ways to go about doing this, but I keep running into snags one place or another.
I have a CF 8 Flash form.  On this part of the page I'm making a form for them to request setting up an e-mail account.  In it's current form, the form does not load at all, this happened when I put the onClick into the submit button.  It has also previously happened when I tried an onsubmit in the cfform tag.  I hardly know anything about Javascript, and have been trying to piece together examples from out on the internet to get this to do what I need it to do. (Check password for 8 characters, must have special character/number, must input same password twice on the page).  I apparently can't use Spry because I'm locked in to having to use a flash form.
It's current form would meet all but the special character requirement, but as I said before, the form comes up completely blank at the moment, almost just like it does if you forget to name a field.  Can anyone shed some light into this behavior?
Here's the code, this particular form is just one in a tabbed page.
<script language="javascript" type="text/javascript">
    function checkPassword() {
      var strng  = document.emailSetup.mailPass.value;
      var strng2 = document.emailSetup.confirmPass.value;
      var errMsg = "";
      if (strng == "") {
            errMsg = "Enter a password.\n";
      if ((strng.length < 8) || (strng.length > 100)) {
            errMsg += "The password is the wrong length\n";
      if (!/[0-9]/.test(strng) || !/[a-zA-Z]/.test(strng)) {
            errMsg += "The password must contain at least one letter and one numeral.\n";
      if(strng!=strng2)
            errMsg += "Your passwords do not match!\n";
      if(errMsg==''){
            return true;
      } else {
            alert(errMsg);
            return false;
return false;
</script>
    <cflayoutarea title="Set up New E-mail" overflow="hidden">
        <cfform format="flash" name="emailSetup" timeout="300" skin="haloblue" action="emailAction.cfm">
            <cfformgroup type="panel" label="ADSS Helpdesk" height="390" style="text-align:left; color:##000000; font-size:12;">
                <cfinput type="text" name="empName" label="New Employee's Name" width="250" required="yes">
                   <cfselect name="agencyID" width="150" label="Agency:">
                    <cfoutput query="agencyFetch">
                           <option value="#agencyID#">#agency#</option>
                       </cfoutput>
                </cfselect>
                <cfinput type="password" name="mailPass" width="100" label="Desired Password" required="yes">
                <cfinput type="password" name="confirmPass" width="100" label="Confirm Password" required="yes">               
                <cfselect name="capacity" label="Mailbox Capacity:" width="150">
                    <option value="250">250 MB ($6.50)</option>
                    <option value="500">500 MB ($12.00)</option>
                    <option value="1500">1500 MB ($25.00)</option>
                </cfselect>
                <cfformgroup type="horizontal" label="Requester's Name">
                    <cfinput type="text" name="reqFName" width="100" required="yes">
                    <cfinput type="text" name="reqLName" width="100" required="yes">
                </cfformgroup>
                <cfinput type="text" name="reqEmail" label=" Requester's Email:" width="300" bind="{reqFName.text.toLowerCase()}.{reqLName.text.toLowerCase()}@adss.alabama.gov" required="yes">           
                <cfinput type="submit" name="mailSubmit" value="Request Email Address" onClick="checkPassword()">                               
               </cfformgroup>
        </cfform>
    </cflayoutarea>

Well, I've made a little progress I believe, I'm almost there, just some syntax problems now I think.  I modified a Password Strength checker I found to try and bend it to my purposes, and have tried to add it in the cfformitem="script"  I'm not quite sure how it's supposed to work yet with nothing that just comes out and says function() to call, but that's something the actionscript boys will hopefully be able to help me with.
Here's the code as it is now.
    <cflayoutarea title="Set up New E-mail" overflow="hidden">
        <cfform format="flash" name="emailSetup" timeout="300" skin="haloblue" action="emailAction.cfm" onsubmit="passwordChecker">
            <cfformgroup type="panel" label="ADSS Helpdesk" height="390" style="text-align:left; color:##000000; font-size:12;">
                <cfinput type="text" name="empName" label="New Employee's Name" width="250" required="yes">
                   <cfselect name="agencyID" width="150" label="Agency:">
                    <cfoutput query="agencyFetch">
                           <option value="#agencyID#">#agency#</option>
                       </cfoutput>
                </cfselect>
        <cfformitem type="script">
            package passwordChecker
             public class passwordStrength
                private static var _strength : Number = 0;
                private static var _regAlpha : RegExp = new RegExp( /([a-Z]+)/ );
                private static var _regLength : RegExp = new RegExp( /(?=^.{8,}$)/);
                private static var _regNum    : RegExp = new RegExp( /([0-9]+)/ );
                private static var _regSpecial : RegExp = new RegExp( /(\W+)/ );
               public static function checkStrength( mailPass : String ) : Number
                        _strength = 0;
                        if( mailPass.search( _regAlpha ) != -1 )
                            _strength ++;
                        if( mailPass.search( _regLength ) != -1 )
                            _strength ++;
                        if( mailPass.search( _regNum ) != -1 )
                            _strength ++;
                        if( mailPass.search( _regSpecial ) != -1 )
                            _strength ++;
                        if _strength < 4
                        alert('Passwords does not meet requirements');
                    if(mailPass.text != confirmPass.text)
                        alert('Passwords do not match');
                    return false;       
            </cfformitem>               
                <cfinput type="text" name="mailPass" width="100" label="Desired Password" required="yes">
                <cfinput type="text" name="confirmPass" width="100" label="Confirm Password" required="yes">               
                <cfselect name="capacity" label="Mailbox Capacity:" width="150">
                    <option value="250">250 MB ($6.50)</option>
                    <option value="500">500 MB ($12.00)</option>
                    <option value="1500">1500 MB ($25.00)</option>
                </cfselect>
                <cfformgroup type="horizontal" label="Requester's Name">
                    <cfinput type="text" name="reqFName" width="100" required="yes">
                    <cfinput type="text" name="reqLName" width="100" required="yes">
                </cfformgroup>
                <cfinput type="text" name="reqEmail" label=" Requester's Email:" width="300" bind="{reqFName.text.toLowerCase()}.{reqLName.text.toLowerCase()}@adss.alabama.gov" required="yes">           
                <cfinput type="submit" name="mailSubmit" value="Request Email Address">                               
               </cfformgroup>
        </cfform>
    </cflayoutarea>

Similar Messages

  • Spry Validation Confirm Widget

    Ugh.  This is driving me nuts!
    I've used the Spry Validation Confirm Widget successfully before, but for some reason I can't spot, I get this error message every time I try to load the page: Spry.ValidationConfirm ERR: The element ConfirmPasswordWidget doesn't exists!
    The JS and CSS files are linked as follows in the head section.
    <!-- Link the Spry Validation Password JavaScript library -->
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Confirm JavaScript library -->
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    The code in the body looks like this:
          <form id="Passwordform" name="Passwordform" method="post" action="">
            <table>
              <tr>
                <td><label for="password1">Password:</label></td>
                <td><span id="ValidatePasswordWidget">
                  <input name="password1" type="password" id="password1" value="" size="20" maxlength="20"/>
                  <span class="passwordRequiredMsg">A value is required.</span>
                  <span class="passwordMinCharsMsg">The minimum number of characters not met.</span>
                  <span class="passwordMaxCharsMsg">The maximum number of characters exceeded.</span>
                  <span class="passwordInvalidStrengthMsg">The password strength condition not met.</span>
                  <span class="passwordCustomMsg">User defined condition not met.</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td><label for="confirmpassword">Re-enter password </label></td>
                <td><span id="ConfirmPasswordWidget">
                  <input type="password" id="confirmpassword" value="" size="20" maxlength="20" />
                  <span class="confirmRequiredMsg">A value is required.</span>
                  <span class="confirmInvalidMsg">The values do not match</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" name="submit" value="Submit" />
                </td>
              </tr>
            </table>
          </form>
    The scripts are declared as follows:
    <script type="text/javascript">
       var sprytextfield1      = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:7, maxChars:7});
       var password1           = new Spry.Widget.ValidationPassword("ValidatePasswordWidget", {validateOn:["blur"], minAlphaChars:3, minNumbers:1, maxSpecialChars:2, minChars:3, maxChars:8});     
       var ConfirmWidgetObject = new Spry.Widget.ValidationConfirm("ConfirmPasswordWidget", "password1", {validateOn: ['blur']});  </script>
    The actual code is shown below (it doesn't allow me to attach it).
    I know this is a lot to ask, but can anyone see the reason why I'm getting this error?  Looks to me like ConfirmPasswordWidget exists!?
    Thanks in advance.
    <?php require_once('Connections/Unit174Conn.php'); ?>
    <?php if (!isset($_SESSION)) { session_start(); } ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $colname_rsACBLNumber = "-1";
    if (isset($_POST['ACBL_Number'])) {
      $colname_rsACBLNumber = $_POST['ACBL_Number'];
    mysql_select_db($database_Unit174Conn, $Unit174Conn);
    $query_rsACBLNumber = sprintf("SELECT * FROM unit174members WHERE ACBLNumber = %s", GetSQLValueString($colname_rsACBLNumber, "text"));
    $rsACBLNumber = mysql_query($query_rsACBLNumber, $Unit174Conn) or die(mysql_error());
    $row_rsACBLNumber = mysql_fetch_assoc($rsACBLNumber);
    $totalRows_rsACBLNumber = mysql_num_rows($rsACBLNumber);
    ?>
    <!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">
    <!-- InstanceBegin template="/Templates/Unit174_Template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta name="verify-v1" content="PiJ9w6m8VEIvYazx7HJBGOw/d9FeOgKQ1+XlIli6oIE=" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Register</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta http-equiv="Keywords" content="Houston, Bridge, ACBL, Duplicate, Unit 174, District 16, Texas, Results, Community Center, cards, Bridge Club, scores" />
    <meta name="Keywords" content="Houston, Duplicate Bridge, Duplicate, Bridge Unit 174, District 16, ACBL, Tracy Gee, Pech Road, JCC, Ace of Clubs" />
    <link href="css/Unit174.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <link href="css/table_design.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Password JavaScript library -->
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Confirm JavaScript library -->
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable --><!-- InstanceParam name="Page_ID" type="text" value="Register" --><!-- InstanceParam name="class" type="text" value="Unit174" -->
    </head>
    <body class="Unit174" id="Register">
    <div id="container">
      <div id="header"> <img src="Photos/Pat_Levy.jpg"       alt="Pat Levy"       title="Pat Levy"        width="80" height="100" class="framed_image" /> <img src="Photos/Paul Cuneo.jpg"     alt="Paul Cuneo"     title="Paul Cuneo"      width="80" height="100" class="framed_image" /> <img src="Photos/John_Erickson.jpg"  alt="John Erickson"  title="John Ericson"    width="80" height="100" class="framed_image" /> <img src="Photos/Sue_Adamson.png"    alt="Sue Adamson"    title="Sue Adamson"     width="80" height="100" class="framed_image" /> <img src="Photos/Bob_Dowlen_2.jpg"   alt="Bob Dowlen"     title="Bob Dowlen"      width="80" height="100" class="framed_image" /> <img src="Photos/Lauri_Laufman.jpg"  alt="Lauri Laufman"  title="Lauri Laufman"   width="80" height="100" class="framed_image" /> <img src="Photos/Karen_Nimmons.jpg"  alt="Karen Nimmons"  title="Karen Nimmons"   width="80" height="100" class="framed_image" /> <img src="Photos/Robert_Reichek.png" alt="Robert Reichek" title="Robert Reichek"  width="80" height="100" class="framed_image" /> <img src="Photos/Joyce_Ryan.jpg"     alt="Joyce Ryan"     title="Joyce Ryan"      width="80" height="100" class="framed_image" />
        <h1>The Board of Directors of Houston Unit 174 of the ACBL</h1>
        <h4>Welcomes you to</h4>
        <h1>Houston Duplicate Bridge</h1>
        <!--End header div-->
      </div>
      <div id="NavContainer">
        <ul id="NavList" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a></li>
          <li><a class="MenuBarItemSubmenu" href="#">Unit Pages</a>
            <ul>
              <li><a href="174calendar.htm">Unit 174 Calendar</a></li>
              <li><a href="board_of_directors.htm">Unit board of Directors</a></li>
              <li><a href="minutes.htm">Board Minutes</a></li>
              <li><a href="174finances.htm">Financial Reports</a></li>
              <li><a href="bylaws.htm" target="_blank">Bylaws</a></li>
              <li><a href="mailto:[email protected]">Sign up for Free E-mail Newsletter </a></li>
              <li><a href="http://www.unit174partnership.com/" target="_blank">Find a partner!</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Honors</a>
                <ul>
                  <li><a href="texas_star.htm">Texas Stars</a></li>
                  <li><a href="charity_committee.htm">Charity Committee</a></li>
                  <li><a href="goodwill_committee.htm">Goodwill Committee</a></li>
                </ul>
              </li>
              <li><a href="memberstats.htm">Membership Charts</a></li>
              <li><a href="Photo_Gallery/gallery.php">Photo Gallery</a></li>
              <li><a href="mapof_174.htm">Unit Map</a></li>
              <li><a href="map.htm">Map with Club Info</a></li>
              <li><a href="Past_Tournaments.htm">Past Tournament Results</a></li>
              <li><a href="club_special_events.htm">Club Special Events</a></li>
              <li><a href="swiss_teams.htm">Swiss Teams</a></li>
              <li><a href="Randall's cards.pdf">Randall's Cards</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Masterpoint Races</a>
            <ul>
              <li><a href="Ace_Of_Clubs.htm" target="_blank">Ace of Clubs</a></li>
              <li><a href="Mini-McKenney.htm" target="_blank">Mini-McKenney</a></li>
              <li><a href="unit_masterpoints.php">Unit masterpoint holdings</a></li>
              <li><a href="2008mpraces.htm">2008 All Races 100 deep</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">Newer Player Resources</a>
            <ul>
              <li><a href="novice_games.htm">Intermediate/Novice Games</a></li>
              <li><a href="askateacher.htm">Ask a teacher</a></li>
              <li><a href="bridgelessons.htm">Bridge Lessons</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Mentor-Mentee Games</a>
                <ul>
                  <li><a href="http://www.bridgeclubofhouston.org/" target="_blank">Bridge Club of Houston</a></li>
                  <li><a href="http://www.houstonbridgestudio.com/Mentor_Novice.htm" target="_blank">Houston Bridge Studio</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Club Web Pages</a>
            <ul>
              <li><a href="#" class="MenuBarItemSubmenu">Houston</a>
                <ul>
                  <li><a href="Club_Web_Pages/Ace_of_Clubs.htm" target="_blank">Ace of Clubs</a></li>
                  <li><a href="Club_Web_Pages/Apple.html" target="_blank">Apple</a></li>
                  <li><a href="Club_Web_Pages/Apple_Too.html" target="_blank">Apple Too</a></li>
                  <li><a href="Club_Web_Pages/Forest_Club.html" target="_blank">Forest Club</a></li>
                  <li><a href="http://www.houstonbridgestudio.com/" target="_blank">Houston Bridge Studio</a></li>
                  <li><a href="Club_Web_Pages/Lakeside.html" target="_blank">Lakeside</a></li>
                  <li><a href="Club_Web_Pages/Racquet_Club.html" target="_blank">Racquet Club</a></li>
                  <li><a href="Club_Web_Pages/River_Oaks.html" target="_blank">River Oaks</a></li>
                  <li><a href="Club_Web_Pages/Southwest.html" target="_blank">Southwest</a></li>
                  <li><a href="Club_Web_Pages/Spring_Branch.html" target="_blank">Spring Branch</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Northside</a>
                <ul>
                  <li><a href="Club_Web_Pages/april_sound.htm" target="_blank">April Sound</a></li>
                  <li><a href="http://www.bridgeclubofhouston.org/" target="_blank">Bridge Club of Houston</a></li>
                  <li><a href="Club_Web_Pages/conroe.htm" target="_blank">Conroe</a></li>
                  <li><a href="Club_Web_Pages/Kingwood.html" target="_blank">Kingwood</a></li>
                  <li><a href="Club_Web_Pages/lakeconroe.htm" target="_blank">Lake Conroe</a></li>
                  <li><a href="Club_Web_Pages/livingston.htm" target="_blank">Livingston</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Southside</a>
                <ul>
                  <li><a href="http://www.acblunit174.org/clearlak/clearlake.htm" target="_blank">Clear Lake</a></li>
                  <li><a href="http://www.acblunit174.org/pasadena/pasadena.htm" target="_blank">Pasadena</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Lake Jackson</a>
                <ul>
                  <li><a href="Club_Web_Pages/bar-x.htm" target="_blank">Bar-X</a></li>
                  <li><a href="Club_Web_Pages/diamond_duplicate.htm" target="_blank">Diamond</a></li>
                  <li><a href="Club_Web_Pages/gulf_coast.htm" target="_blank">Gulf Coast</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Bryan/College Station</a>
                <ul>
                  <li><a href="Club_Web_Pages/aggieland.htm" target="_blank">Aggieland</a></li>
                  <li><a href="Club_Web_Pages/brazos.htm" target="_blank">Brazos</a></li>
                  <li><a href="Club_Web_Pages/briarcrest.htm" target="_blank">Briarcrest</a></li>
                  <li><a href="Club_Web_Pages/pebble_creek.htm" target="_blank">Pebble Creek</a></li>
                  <li><a href="Club_Web_Pages/star_duplicate.htm" target="_blank">Star</a></li>
                </ul>
              </li>
              <li><a href="#" target="_blank" class="MenuBarItemSubmenu">Sugar Land</a>
                <ul>
                  <li><a href="Club_Web_Pages/riverbender.htm" target="_blank">Riverbender</a></li>
                  <li><a href="Club_Web_Pages/sugarland_dbc.htm" target="_blank">Sugar Land</a></li>
                  <li><a href="Club_Web_Pages/Sugarland_Night.htm" target="_blank">Sugar Land Night</a></li>
                  <li><a href="Club_Web_Pages/valley_bend.htm" target="_blank">Valley Bend</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Scores</a>
            <ul>
              <li><a href="March.php">March</a></li>
              <li><a href="April.php">April</a></li>
              <li><a href="May.php">May</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">D16 &amp; ACBL Links</a>
            <ul>
              <li><a href="http://www.d16acbl.org/" target="_blank">District 16 Home Page</a></li>
              <li><a href="http://www.d16acbl.org/D16_Map.html" target="_blank">Map of District 16</a></li>
              <li><a href="http://www.d16acbl.org/D16_Results.html" target="_blank">District Tournament Results</a></li>
              <li><a href="http://www.d16acbl.org/D16_Calendar.html" target="_blank">District Calendar</a></li>
              <li><a href="http://www.d16acbl.org/D16_Scorecard.html" target="_blank">Scorecard</a></li>
              <li><a href="http://www.d16acbl.org/Honors/Jacoby/D16_Jacoby.html" target="_blank">Jacoby Awards</a></li>
              <li><a href="http://www.d16acbl.org/Honors/Texas_Star/D16_TexasStar.html" target="_blank">Texas Star Awards</a></li>
              <li><a href="http://www.acbl.org/" target="_blank">ACBL Home Page</a></li>
              <li><a href="http://web.acbl.org/CustomerLogin/login.do;jsessionid=0000zJMgbgs3BAR2ArmUm4Wn6Si:-1" target="_blank">Check your Masterpoints</a></li>
              <li><a href="http://web3.acbl.org/internet/AddressChangeApp.nsf/changeofaddress?OpenForm" target="_blank">Change info with ACBL</a></li>
              <li><a href="http://www.acbl.org/play/toolsSupplies.html" target="_blank">Make your own convention card</a></li>
              <li><a href="http://www.acbl.org/play/recent-results.php" target="_blank">Results of past NABCs</a></li>
              <li><a href="http://www.acbl.org/assets/documents/play/Laws-of-Duplicate-Bridge.pdf" target="_blank">Laws of Duplicate Bridge</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Find a club</a>
                <ul>
                  <li><a href="http://web2.acbl.org/As400/clubs/allClubs/uclub-TX.htm" target="_blank">Texas</a></li>
                  <li><a href="http://www.acbl.org/play/findClub.html" target="_blank">ACBL</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Non Bridge Links</a>
            <ul>
              <li><a href="http://www.aarpmagazine.org/games/" target="_blank">AARP Games</a></li>
              <li><a href="http://www.amazon.com/" target="_blank">Amazon.com</a></li>
              <li><a href="http://www.consumerworld.org/" target="_blank">Consumer World</a></li>
              <li><a href="http://www.onelook.com/" target="_blank">Dictionary</a></li>
              <li><a href="http://www.chron.com/" target="_blank">Houston Chronicle</a></li>
              <li><a href="http://www.google.com/" target="_blank">Google</a></li>
              <li><a href="http://maps.google.com/" target="_blank">Google Maps</a></li>
              <li><a href="http://www.b4-u-eat.com/" target="_blank">Houston Restaurant Guide</a></li>
              <li><a href="http://us.imdb.com/" target="_blank">Internet Movie Database</a></li>
              <li><a href="http://www.uclick.com/client/mma/uj/" target="_blank">Jigsaw Puzzle</a></li>
              <li><a href="http://patandlew.com/Movie%20Ratings.htm" target="_blank">Lew's Movie Reviews</a></li>
              <li><a href="http://medlineplus.gov/" target="_blank">Medical Information</a></li>
              <li><a href="http://www.netflix.com/" target="_blank">NetFlix</a></li>
              <li><a href="http://www.npr.org/" target="_blank">NPR</a></li>
              <li><a href="http://www.privateeye.com/?piid=06&" target="_blank">Public Info (Age, family)</a></li>
              <li><a href="http://www.yahoo.com/" target="_blank">Yahoo</a></li>
            </ul>
          </li>
        </ul>
        <!--End NavContainer div-->
      </div>
      <!-- InstanceBeginEditable name="Main_Content" -->
      <div id="container">
        <div id="mainContent">
          <h1>Register on the Unit 174 Web site</h1>
          <p>To begin the registration process, please fill in your ACBL number and click <strong>Submit</strong>.</p>
          <form action="<?php echo $editFormAction; ?>" method="post" name="registration_form" id="registration_form">
            <table>
              <tr>
                <td><label for="ACBL_Number">ACBL Number</label></td>
                <td><span id="sprytextfield1">
                  <input name="ACBL_Number" type="text" id="ACBL_Number" size="20" maxlength="20" />
                  <span class="textfieldRequiredMsg">A value is required.</span>
                  <span class="textfieldMinCharsMsg">Minimum number of characters not met.</span>
                  <span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span>
                  </span>
                </td>
                <td><input type="submit" name="submit" id="submit" value="Submit" /></td>
              </tr>
            </table>
          </form>
          <?php
             if ( isset($_POST['ACBL_Number'])) {
               if ($totalRows_rsACBLNumber > 0)  { 
              echo "<p>Great - your ACBL number was found.  Now enter a password, and confirm it. </p>";
              ?>
          <form id="Passwordform" name="Passwordform" method="post" action="">
            <table>
              <tr>
                <td><label for="password1">Password:</label></td>
                <td><span id="ValidatePasswordWidget">
                  <input name="password1" type="password" id="password1" value="" size="20" maxlength="20"/>
                  <span class="passwordRequiredMsg">A value is required.</span>
                  <span class="passwordMinCharsMsg">The minimum number of characters not met.</span>
                  <span class="passwordMaxCharsMsg">The maximum number of characters exceeded.</span>
                  <span class="passwordInvalidStrengthMsg">The password strength condition not met.</span>
                  <span class="passwordCustomMsg">User defined condition not met.</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td><label for="confirmpassword">Re-enter password </label></td>
                <td><span id="ConfirmPasswordWidget">
                  <input type="password" id="confirmpassword" value="" size="20" maxlength="20" />
                  <span class="confirmRequiredMsg">A value is required.</span>
                  <span class="confirmInvalidMsg">The values do not match</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" name="submit" value="Submit" />
                </td>
              </tr>
            </table>
          </form>
          <?php  } else {
                 echo "<p>I'm sorry, but that ACBL number was not found in the database.</p>" ;
                 echo "<p>If you are a member of Unit 174, and haven't joined in the past month, </P>";
                     echo "<p>contact the Unit webmaster at the e-mail link shown below.</p>" ;
             ?>
        </div>
      </div>
    <script type="text/javascript">
        var sprytextfield1      = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:7, maxChars:7});
            var password1           = new Spry.Widget.ValidationPassword("ValidatePasswordWidget", {validateOn:["blur"], minAlphaChars:3, minNumbers:1, maxSpecialChars:2, minChars:3, maxChars:8});
            var ConfirmWidgetObject = new Spry.Widget.ValidationConfirm("ConfirmPasswordWidget", "password1", {validateOn: ['blur']});
      </script>
      <!-- InstanceEndEditable -->
      <div id="footer"> <img src="images/ACBL Logo.gif" alt="ACBL Logo" width="58" height="55"class="left_image" /> <img src="images/Houston Logo-Small.png" alt="Unit 174 Logo" width="55" height="55" class="right_image"/>
        <h1>These pages &copy;ACBL Unit 174, All rights reserved.</h1>
        <p>This site maintained by the <a href="mailto:[email protected]">Unit 174 Webmaster</a>.</p>
        <p><a href="http://www.ACBLUnit174.org">www.ACBLUnit174.org</a></p>
        <!--End footer div-->
      </div>
      <!--End container div-->
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("NavList", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd -->
    </html>
    <?php
    mysql_free_result($rsACBLNumber);
    ?>

    Folks -
    I have narrowed down the cause.
    This error appears if the form to which the confirm validation is applied is inside an if condition that is not met, causing the form not to appear in the html source.  It doesn't seem to affect the password validation similarly, just the confirm validation.
    Doesn't this have to be bug?  I'm not fluent in Javascript, so I'd sure appreciate someone telling my how to work around this.
    This is the structure that causes the error to be generated, but only when condition is FALSE.  If condition is TRUE, no error is generated.
    <?php if (condition) { ?>
      form with confirm validation
    <?php }; ?>
    Help anyone?

  • Why are errors for password validation in struts 1.2.4 not being displayed

    I have the following in my validation.xml file
    <field property="passwordconfirm"
    depends="required">
    <arg0 key="registration.passwordconfirm"/>
    </field>
    In my jsp I have the following
    Password Confirm<html:password property="passwordconfirm" size="10" />
         <html:errors property="passwordconfirm"/>
    In my ApplicationResources.properties file I have the following
    errors.required={0} is required.
    registration.firstname = First name
    registration.passwordconfim= Password
    Other text fields work fine i.e. the errors are shown

    sorry this should read why no errors shown for password validation in struts 1.2.4.

  • ERROR: Your password and confirmation password do not match. [******] - has been ignored.

    In IE8m 7, 6, this error occurs. Instead of allowing the registrant to correct the mis-matched password, BC submits the form and places this in the submission report: ERROR: Your password and confirmation password do not match. [******] - has been ignored.
    The user doesn't get logged in (obviously), however BC creates a record for this user, but without a password.
    Has anyone else received this error?
    The process happens like this, user completes form, which includes password|confirm password in which the confirm password is mistyped, when "submit" is pressed, the modal window appears indicating a mismatched password. The user clicks "okay" and then the page redirects to the submission page (or to a login screen if the form is set to redirect to a specific page).
    This occured during the test phase and has been replicated!

    Can you please insert that form onto a blank page with no template around it and test it? There seems to be a problem in javascript validation.
    It's this line:
    if(why != ""){alert(why);return false;}
    So, when you click submit, the JS pops the alert if "why" varaible is not an empty string and then returns false, which means the form should not get submitted. However, on your form the browser goes on to this line and submits the form:
    if(submitcount50254 == 0){submitcount50254++;theForm.submit();return false;}
    I can't exactly pinpoint the problem, but it's in that code or some code interfering with that code.
    Cheers,
    -mario

  • TS3554 Tried setting login password on recently returned iMac after Seagate hard drive replaced. No space to type in a password or confirm it appeared so I chickened out and clicked on red dot to shut down window. I did, however, put my name as admin. now

    Tried setting login password onto iMac after it returned from Seagate exchange hard drive. Upgraded from leopard, snow leopard and currently upgraded to Lion, so as to have iCloud.Typed my name in as administrator and waited for a space to appear to type in password and confirm it. No space appeared so I shut that window down. Put iMac to sleep and when I returned and tried to access computer, it asks for a password which I did not put in! Now I'm stuffed. Cannot get into computer at all. Help appreciated. I'm not a techno wizard.

    Welcome to the Apple Support Communities
    Reset the password > https://discussions.apple.com/docs/DOC-4101

  • Custom password validation

    hi,
    I am trying to write a custom java file for password validation. when we load it and compile using adadmin the class file is not getting generated.
    also, i would like to know how to customize the message that appears.
    example PASSWORD-INVALID. I would like to use explanatory message. Where do i define these strings.
    package oracle.apps.fnd.security;
    import oracle.apps.fnd.common.VersionInfo;
    // Referenced classes of package oracle.apps.fnd.security:
    // PasswordValidation
    public class AppsPasswordValidationCUS
    implements PasswordValidation
    public String getErrorStackApplicationName()
    return "FND";
    public String getErrorStackMessageName()
    return m_errorStackMessageName;
    public boolean validate(String username, String password)
    if(password ==null || password.length() == 0 || username == null || username.length() == 0)
    m_errorStackMessageName = "PASSWORD-INVALID";
    return false;
    if(password.length() < 6)
    m_errorStackMessageName = "PASSWORD-INVALID-LENGTH";
    return false;
    if(!validateLettersAndDigits(password))
    m_errorStackMessageName = "PASSWORD-INVALID-LETTER-NUMBER";
    return false;
    if(!validateNoUsername(username, password))
    m_errorStackMessageName = "PASSWORD-INVALID-USERNAME";
    return false;
    if(!validateNoRepeats(password))
    m_errorStackMessageName = "PASSWORD-INVALID-REPEATS";
    return false;
    return true;
    private boolean validateLettersAndDigits(String p_password)
    boolean flag = false;
    boolean flag1 = false;
    for(int i = 0; i < p_password.length(); i++)
    if(Character.isLetter(p_password.charAt(i)))
    flag = true;
    if(Character.isDigit(p_password.charAt(i)))
    flag1 = true;
    return flag && flag1;
    private boolean validateNoUsername(String p_username, String p_password)
    return p_password.toUpperCase().indexOf(p_username.toUpperCase()) == -1;
    private boolean validateNoRepeats(String p_password)
    for(int i = 1; i < p_password.length(); i++)
    if(p_password.charAt(i) == p_password.charAt(i - 1))
    return false;
    return true;
    private String m_errorStackMessageName;
    }

    Hi Colin,
    We are able to update the password in OIM user profile now. However, after the process is done in java code, it is not redirecting to OAM Password change success page which will have a Back button. Also, we are seeing a Bug Report form page with the content given below:
    Bug Report Form
    An error has occurred while executing the application.
    Your browser doesn't support sending mail automatically!
    Please send E-Mail to <a =""></a> with the following information:
    Your Name
    Organization
    E-Mail Address
    Phone Number
    Comment
    Make sure to append the following traceback in the mail.
    Traceback Traceback is unavailable.
    Product Lost Password ManagementVersion
    Platform Linux
    Any clue as when we will witness this?
    -Mahendra.

  • Bringing back an old password validation rule

    Good afternoon
    On our old 4.6C system, there was a password validation rule that stated the first three characters of the password cannot occur in the same order in the user ID. This rule was removed when we upgraded to ECC 6.0
    While the users hated that rule, that rule was a SOX requirement at our company and I would like to have it back. Before I resort to programming user exits, is there a way to reactivate or at least simulate that rule? I cannot use USR40 because not only does it effect all users on the system, it only works on the second logon and not at validation time.
    If programming user exits like EXIT_SAPLSUSF_001 is my only option, where can I get the password at logon time? From my understanding, SAP does not store this in a system value or even a global variable or table to prevent the recording of passwords. While this is a valid security reason, it would solve the resurrection of this password role through programming.
    Please advise.
    Kind Regards
    Moggie

    Hi Moggie,
    > Pending the result of the contract programmer's research, placing a 3 character prefix of each new user ID in table USR40 is looking like the best option, though I do hate to place that kind of check for all user IDS when only one ID really needs that validation rule.
    A problem with that will soon arise when you have for example 10000 user ID's and want the users to have the opportunity to use strong pass-phrases (not just pass-words). Additionally, the passwords are now case-sensitive but the user ID is not. A pass-phrase for users such as "The_D0g_&_Cat_r_FAT" would go undetected even if you have any "THERON's" in the system, but why should it not be allowed? It's a good one!
    Users will soon notice that only passwords which are very cryptic can be used, and they will start writing them down on Post-It's.
    While that is going on... the "real sinners" who dish out weak or the same initial / reset passwords (like "INIT1234") or administrate the users for whom passwords don't change (like "RFC4PROD") will not have any further "idiot-proof" controls as it is only a warning, which is intentional.
    > If the passwords are cycled regularly, adhere to profile values in the instance that encourage strict password rules, and are kept private and secure, it is not a compliance issue to the auditors.
    There you have it. 
    Tell them that. Even if they do use the first 3 bname characters as the first 3 CAPS_ON password characters, they won't be able to do it for long anyway if the password rules are appropriate...
    Incase you are not aware of it, please also take a look at (and search here and SAP notes for) infos about instance parameter login/password_compliance_to_current_policy (e.g. SAP Note 862989). With appropriate minimum password rules (not overkilled - because the system must still be able to generate compliant wizard-passwords!), you will catch the bigger risks than any one 'BSM?????'s in there somewhere....
    Cheers,
    Julius

  • Extend WL Authentication Provider Password Validation

    Hi folks
    I'm looking for any advice on how to extend the OOB password validation that is available and documented here:
    http://docs.oracle.com/cd/E12840_01/wls/docs103/secmanage/atn.html#wp1212100
    Specifically we'd like to test whether the desired password has been used in the last 8 they've used and also to enforce that it expire after x days. Any pointers would be much appreciated.
    Thanks,
    Paul

    1- How can an authentication provider supports password validation providers ?
    We decided to make our own authentication provider so I doubt we support it
    Yes, your custom authentication provider will not support it.
    2- How it is suppose to work ?
    Now, when a user change his password (or any of his attributes), we call a stored procedure (DB) which updates the user table ...
    The way I see it, the web application should call the password validation provider before (or instead and then the provider will call the stored procedure)
    Have u configured the a databse authenticator? Looks like you are modifying the password in the database directly ( using stored procedures) so Password Validator will not come in picture at all.

  • Why Password and Confirm Password are hard coded fields?

    In my environment, the user's password is generate automaticaly, the user will be notified about his/her password etc. So I don't need those fields in the Create User Form. How can I hide those fields? No problem... I will keep them
    OIM has a concept of FormMetada but this concept is not respected at all. For example, in the Create User form the Password and Confirm Passwor fields are not declared in the FormMetada.xml. Where are they? Hard code in the tjspGenerateCreateUserForm.jsp.
    It is not a big problem but I have to say to my customer I have to do more customizations etc... :-):-):-):-):-)
    Thanks.

    Yes you are right. You have to remove it from JSP.

  • Does setPasswordChangeRequired(FALSE) overides Password Validity Period?

    Hi,
    If I set setPasswordChangeRequired to FALSE will the Password Validity Period take efect or this users with the setPasswordChangeRequired equals to FALSE will never get asked to change their passwords again?
    Thanx in Advanced!
    Kind Regards,
    Gerardo J

    Hi Gerardo ,
    How did you got around this issue. Can you share your solution/ideas.
    Thanks
    Srinivas

  • Reg ex for password validation

    hi help me for password validation......
    Password should contain 6 to 8 characters, at least one letter and at least one number, contain no spaces and no special characters (e.g. &, >, *,$)

    String[] tests = {"abc1def", "2abcdef", "abcdef", "123456"};
    for(String t: tests) {
      if(t.matches("^(?=\\D*\\d)(?=[^a-zA-Z]*[a-zA-Z]).*$")) {
        System.out.println("Accepted: "+t);
      } else {
        System.out.println("Rejected: "+t);
    // Accepted: abc1def
    // Accepted: 2abcdef
    // Rejected: abcdef
    // Rejected: 123456@OP: this does not answer your question, but it will get you started. Try to finish it yourself.

  • I cannot access my Apple TV in WiFi mode. I have used it previously, but it keeps saying it is not connected to the network. My broadband is running. I was able to access Apple TV using an Ethernet cable. I have entered the password as confirmed by my ISP

    I cannot access my Apple TV in WiFi mode. I have used it previously, but it keeps saying it is not connected to the network. My broadband is running. I was able to access Apple TV using an Ethernet cable. I have entered the wireless password as confirmed by my ISP without any success.

    Hi,
    Thanks for trying to solve my problem. It appears that the password I was inserting was incorrect. I now have access.
    Thanks again.

  • I can't sign into creative cloud since doing a update? I changed my password, got confirmation email

    I can't sign into creative cloud since doing a update? I changed my password, got confirmation email saying this was done but it still won't sign in. Please help?

    Hi,
    Check this document and see if it clears up your problem:
    http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    regards,
    steve

  • Custom Attibute with Password Validations

    Hi,
    Is it possible to trigger the password validations for the custom attribute(who's display type as Password) which is defined in OAM objectclass of User Manager Configuration?
    However the custom attribute value passed to LDAP is stored in the form of unencrypted/clear text.
    Any inputs will be appreciated?
    Thanks,
    ABP
    Edited by: user11970322 on 14-Jan-2011 10:33

    Please post ASP.NET questions in the ASP.NET forums (http://forums.asp.net ).

  • Hide password and confirm password feild.

    I am generating random password through pre-insert adapter, so i want to hide password and confirm password feild
    from user creation page. I have already able to hide feilds like start date and all.

    *<!--*
    <tr>
    <td nowrap class="ControlLabel">
    <bean:message key="createuser.label.password"/>
    </td>
    <td align="right">
    <span class="Asterisk"><bean:message bundle="xlDefaultAdmin" key="global.label.asterisk"/></span>
    </td>
    <td>
    <html:password name="manageUserForm" property="password"
    redisplay="false" styleClass="Fields" tabindex="1"/>
    </td>
    </tr>
    <tr>
    <td nowrap class="ControlLabel">
    <bean:message key="createuser.label.confirmpassword"/>
    </td>
    <td align="right">
    <span class="Asterisk"><bean:message bundle="xlDefaultAdmin" key="global.label.asterisk"/></span>
    </td>
    <td>
    <html:password name="manageUserForm" property="confirmPassword"
    redisplay="false" styleClass="Fields" tabindex="2"/>
    </td>
    </tr> -->

Maybe you are looking for

  • Can I view Microsoft word on my iPad?

    Can I view Microsoft word on my iPad?

  • Multiple skype tele #'s

    May I have multiple Skype tele numbers? Some of my clients wish me to answer the phone for them I am thinking of using skype phone is this possible and do I need to have a business account to do this?

  • Properties panel still a major issue - so is overall CC interface

    Hi, I have just bought into the whole Adobe CC apps things after years of working with CS4, 5 and 5.5 and remaining compatible with most of my clients, few are taking the leap to CC right now. Anyways, I am extremely disappointed in the interface, an

  • Use of ANT

    Hi All, Could anyone please tell me the benefit of using the ANT tool. While programming in JAVA i don't remember using the make, jam etc,, Where do we actually use a build tool. And how is ANT useful relatively. If u could suggest any tutorial for a

  • How to copy photos in iPhoto to dropbox?

    I have been struggling all night to try and copy some photo's in IPhoto over to Dropbox but the JPG files are not showing up in my finder??? And when I go to try and expand my IPhoto library it opens Iphoto. How can I copy or move the photo's to anot