This project is read-only.

Digits in field phone number

Sep 18, 2009 at 5:11 PM

Hi all!

The phone number field on the perfil only accept 7 digits?  because if I put more or less the system trigger the error: Invalid phone number.

I need put 8 digits!!!!

How change this?


Sep 19, 2009 at 6:11 AM

8 digits is a very strange combination.  You will just have to edit/remove the RegularExpressionValidator on line 34 of profile.aspx - I am not too good with RegEx's, but I usually look here:

If you remove it, there iwll be no validation, but that will work for sure.

Sep 23, 2009 at 3:37 PM

It works!


Dec 21, 2009 at 3:49 PM

8 Digits is not strange -


Here in the UK most telephone numbers are 11 digits!!! 

Dec 29, 2009 at 1:25 PM

I changed mine to 3 digits for intra office phone extensions. However I can't figure out how to change the word "Phone" to "extension", I have changed it in both the english resx files for the profile page...

Jan 10, 2010 at 6:19 PM

its litPhoneResource1.Text in the profile.aspx.resx file - change it in both the english and 'default' one (without a lang extension) some browsers handle this differently.