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



______________________________________________________________________
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=coldfusiona
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