The following problem has happened several times recently and defies all analysis. We
have a Web
form for new employees to sign up for an email account. It goes through both
JavaScript and CF
validation. I have one user who, when she uses the form, is able to sail right past
all validation
on the password. The receiving template happily processes garbage input as if it is
normal! When I
test the form, validation always works. Since this is mainly a CF forum, I'll just
post part of the
CF validation here, and someone can explain to me why it did not catch passwords like
"kev" or
"cmj"?
<CFIF Len(form.Password) LT 6>
<B>Error! The submitted Password is too short!<BR>
<A HREF="javascript:history.back()">BACK</A></B>
<CFABORT>
</CFIF>
<CFIF ReFindNoCase("[0-9]*", "form.Password") IS "0">
<B>Error! The submitted Password must contain at least one number!<BR>
<A HREF="javascript:history.back()">BACK</A></B>
<CFABORT>
</CFIF>
Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole
use of the
intended recipient(s) and may contain confidential and privileged information. Any
unauthorized
review, use, disclosure or distribution is prohibited. If you are not the intended
recipient, please
contact the sender by reply email and destroy all copies of the original message.
---
[This E-mail scanned for viruses by Declude Virus]
=========================================================
Kansas City ColdFusion User Group's website & listserv is
hosted through the generous support of Clickdoug.com
To send email to the list, email [EMAIL PROTECTED]
To (un)subscribe, email [EMAIL PROTECTED] with your request.
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1.
======================================================