Welcome Guest Search | Active Topics | Sign In | Register

Two problems with Masked Edit Options
Phil Morris
Posted: Monday, June 11, 2012 1:02:31 PM
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
eo_support
Posted: Monday, June 11, 2012 10:53:57 PM
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!
Phil Morris
Posted: Tuesday, June 12, 2012 12:16:55 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.