i'm trying to use mask validator in my application, but its not working.
alongwith mask, i'm using minlength and required validators and they're working fine. but, when these two conditions are satisfied, the application shows me errors related to mask validator (even if the condition for mask validator is satisfied)
I have this entry in my validation.xml:
This is the entry in validator-rules.xml:
and this is the entry in my ApplicationResources.properties file
"minlength" and "required" are working fine.... the problem is with mask validator...
i was able to get through the application successfully, but only when i removed the global constant "validationMask" (which i had declared in my validation.xml file) and replaced it with a regex for validation.
can anyone please take a look at the global constant declared in the code (validation.xml code provided in my previous post) and tell me what is wrong in the declaration..??