Re: validating a single textbox for two mask values

2006-01-23 Thread rama chandrula
ContactID and phoneNumber are regualr expressions that are used more than once in the validation.xml and hence are deifned using constants. From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: validating a si

Re: validating a single textbox for two mask values

2006-01-23 Thread Laurie Harper
rama chandrula wrote: Hi, I have a text box in which I can either enter a E-mail address or the Phone number. I want to use Struts-Validator for validating the format of both the email and phone number. How can I specify the values of both the masks for the same text box. In the snippet give

validating a single textbox for two mask values

2006-01-23 Thread rama chandrula
Hi, I have a text box in which I can either enter a E-mail address or the Phone number. I want to use Struts-Validator for validating the format of both the email and phone number. How can I specify the values of both the masks for the same text box. In the snippet given below, contactID is u