What Chris said, plus this:
there's no validation rule named 'areaCodeMask' or 'phoneMask'; you want
just 'mask' as the rule name. See the validator documentation for examples.
Also, is validation working at all for you? For example, is it correctly
detecting errors for the properties you h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thom,
Thom Burnett wrote:
> I'm trying to validate two fields - area code and phone number (as nnn-
> no areacode in that input).
>
> [snip]
>
> phoneFormatMask
> ^[0-9]{3}-[0-9]{4}$
This regexp looks good. Have you checked th
2 matches
Mail list logo