File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes My Custom Validator is not working as i want Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "My Custom Validator is not working as i want" Watch "My Custom Validator is not working as i want" New topic
Author

My Custom Validator is not working as i want

Yahya Arshad
Greenhorn

Joined: May 15, 2011
Posts: 26




i have made a custom validator for mobile number that entered mobile number should not greater than 12 and must have - charachter at location 4 (0321-3809083 for example) but there when i run it see only length and '-' charachter at location 4 but if it contatins other than digit on other place it take it ok

please help me to findout a bug

also if any one can give me link t o findout the Pattern way...
please reply thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My Custom Validator is not working as i want