Validation Controls

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
 
G

Guest

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
 
M

Murphy

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

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,591
Members
45,103
Latest member
VinaykumarnNevatia
Top