DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21509>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21509

password fields are not subject to the Javascript minLength, maxLength & mask 
validation rules

           Summary: password fields are not subject to the Javascript
                    minLength, maxLength & mask validation rules
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The standard 'validator-rules.xml' file omits password fields in the Javascript 
sections of minLength, maxLength & mask rules. It may be easily resolved by 
changing the present condition statement:

if (field.type == 'text' || field.type == 'textarea')

for the following one:

if (field.type == 'text' || field.type == 'textarea' || field.type 
== 'password')

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to