That would go in the action page.  If the passwords don't match you
could send them back and repopulate for form or something, with a
warning that the passwords didn't match.

_____________________________
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-----Original Message-----
From: Jon CFTalk [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, March 13, 2002 12:11 AM
To: CF-Talk
Subject: RE: Password retype validation


Do you wrap this around the controls or put it in the action page???

Thanks

-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 1:00 PM
To: CF-Talk
Subject: RE: Password retype validation


I do my form validation server side.  I test two pwds for  equivalency
as
follows.  The test is cAsE sENsitive.  To go case-insensitive use
CompareNoCase instead of Compare:

<CFIF COMPARE(form.password,form.password2)>
        ... the passwords didn't match, do stuff ...
</CFIF>

---------------------------------------
Matt Robertson    [EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.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

Reply via email to