wood burning stoves 2.0*
The moose likes Struts and the fly likes mask validation not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "mask validation not working" Watch "mask validation not working" New topic

mask validation not working

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
My validator.xml contains simple validations for required and mask.

The 'required' works but when I take it off and leave only mask this does not get validated.

Can anyone see why.

my error in the resources file is :
errors.invalid={0} is invalid.
Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
I read on the struts website that the validator needs a ^ and $ struts 1.1 onwards, however this does not work either

BadalDeepali Garg

Joined: Jun 13, 2005
Posts: 4
Hi think if u try this
It may wrok for you
I agree. Here's the link: http://aspose.com/file-tools
subject: mask validation not working
Similar Threads
Struts validator Framework
problem in using mask validation
Using masks in Validations
Validator for NOT NULL/ blanks
DynaValidatorActionForm not working