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

How do I create a password verification?

Explorer ,
Aug 23, 2007 Aug 23, 2007
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
343
Translate
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
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.
Translate
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
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
Translate
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