Validation Controls

  • Thread starter Thread starter Murphy
  • Start date Start date
M

Murphy

Is it possible using the validation controls to ensure the user enters
either a phone or mobile number and that it is exactly 10 numeric characters
?

Thanks

Murphy
 
Hi

You can do this with the help of RegularExpression Validator.

Create a regularexpression validator and set the following properties ControlToValidate,errorMessage and regularexpression

HT

Ashish M Bhonkiy

----- Murphy wrote: ----

Is it possible using the validation controls to ensure the user enter
either a phone or mobile number and that it is exactly 10 numeric character


Thank

Murph
 
Thanks Ashish,

The format of the phone number is under control however I am unsure of how
to ensure then user enters a value in one of two fields, phone or mobile...

Thanks

Murphy

Hi,

You can do this with the help of RegularExpression Validator.

Create a regularexpression validator and set the following properties
ControlToValidate,errorMessage and regularexpression.
 
Back
Top