I use this:
/If user does not enter a password, then we alert them.
function validateForm(){
if (FormName.FieldName.value == "") {
alert("You must enter a password!")
FormName.FieldName.focus()
return false
}
//If the passwords do not match, we alert them.
if (FormName.FieldName.value != FormName.FieldName.value) {
alert("The passwords do not match! Please re-enter your passwords.")
FormName.Password.focus()
FormName.FieldName.focus()
return false
}
return true
}
//-->
---------- Original Message ----------------------------------
From: "Jon" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Mar 2002 10:49:23 -0800
Hi
Can anyone help a new kid
I need to do a retype password validation
how do I do that ? Hidden fields?
Thanks
JON
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists