Rank: Advanced Member Groups: Member
Joined: 6/5/2007 Posts: 35
|
1. I'm using the mask "(000) 000 0000" for N. American phone numbers. The first character typed by the user is ignored - if not a digit this is to be expected, but not when the first character types is a digit. Instead of the just setting the mask, I set up multiple mask segments with the same results. A mask such as "000 000 0000" works fine.
2. I really wanted to have the mask be "(000) 000-0000" and attempted to include the '-' by escaping it, but all I get then is a javascript error. Since the escape character itself has to be escaped in C# the test I used to set the mask was "(000) 000\\-0000". I also tried "@(000) 000\-0000" with the same javascript error
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
We have posted a new build that should fix the first problem. Please see your private message for the download location.
I am not sure if I understand the second problem. You should be able to just use "-" in your Mask. You do not need to escape it. Any "literals" in your mask are treated just as literals.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 6/5/2007 Posts: 35
|
Ah yes, I mis-read the mask characters; I see now that '-' is only a mask character is it is the first in the mask. Duh!
|