Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How do I create a password verification?

Explorer ,
Aug 23, 2007 Aug 23, 2007

Copy link to clipboard

Copied

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.
TOPICS
Server side applications

Views

313
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 23, 2007 Aug 23, 2007

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 23, 2007 Aug 23, 2007

Copy link to clipboard

Copied

LATEST
.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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines