how to verify password confirmation field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ofm2306
    Private

    • Jun 2010
    • 1

    how to verify password confirmation field

    Hello,

    I have created a registration form with a password and a password confirmation field.

    Can anybody tell me how I can verify the input in the confirm passord field?

    Thank you

    ofm2306
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: how to verify password confirmation field

    You will need a specific Javascript for this. Google it.

    Usually the Javascript function will look like this:

    <script type="text/javascript">
    <!--
    if (theForm.Editbox2.value != theForm.Editbox1.value)
    {
    alert("Values must be identical");
    theForm.Editbox2.focus();
    return false;
    }
    return true;
    }
    //-->
    </script>
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    Working...
    X