Skip to main content
Participating Frequently
August 23, 2007
Question

How do I create a password verification?

  • August 23, 2007
  • 2 replies
  • 337 views
Hi this may be simple?, but I'm having a mind block. I want the user to change and enter a password, doing that I have sorted, how do I use a second box which they repeat their entry into and check they match before allowing the record to be updated?
want to do the same with the email but I guess it will be the same process.
This topic has been closed for replies.

2 replies

Inspiring
August 23, 2007
.oO(orange22)

> Again you could use javascript validation techniques

But only as an addition. The final validation must always be done on the
server before processing the data.

Micha
Participating Frequently
August 23, 2007
if (textbox1 password = textbox2 password)
{
update the row in the database
}
else
{
display = "textbox2 does not match textbox1" "try again"
}

Again you could use javascript validation techniques, regular expressions etc.