struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <erikwe...@mindspring.com>
Subject Re: Validator & mutliple masks
Date Thu, 12 Aug 2004 16:30:40 GMT
Thanks Bill, I will try that.

Erik


Bill Siggelkow wrote:

> Erik Weber wrote:
>
>> I have two possible masks which are acceptable for a phone number 
>> text input.
>>
>> Is there a way to tell the validator plugin (in validation.xml) that 
>> either of two masks is acceptable for a given field?
>>
>> Thanks,
>> Erik
>
> Why don't you just use alternation in the regex?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message