Rank: Member Groups: Member
Joined: 8/9/2012 Posts: 11
|
Hi
I have just spent all afternoon getting nowhere trying to use a MaskedEdit field to restrict data entry to be a valid email address.
Please can anyone email me an example?
I am using VS2010, VB.NET 4 and EO version 10.0.47.2 on a Windows 7 PC with IE_10
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
I don't think that's a good application for the MaskedEdit control. You probably want to use a regular TextBox, but validate it with a regular expression either on the client side or/both on the server side. That way user can enter anything --- but an invalid email address will not pass the validation when the user submits the page.
Thanks!
|