File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting "Password can not be less than 6 characters" error message even i enter more than 6 chars

 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using validator framework. in that i am validating the password field as required and minimum length of 6 characters. When i enter without any values its showing correct error message as "Password is required". But when i enter more than 6 characters i am still getting "Password can not be less than 6 characters".I cannot submit the form as this error message occurs for any length of characters i enter.What may be the problem? Please help.

i have below lines in the validation.xml file:

I have the following in the validation-rules.xml file:

Please help.Thanks in advance.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic