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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top