Does anyone have a InputMask value for an email field?
Thanks.
Andy
Hi Andy,
Unfortunately WebMaskEdit supports only mask with static length. There is also no flag to filter letter-digit-underscore-dash or similar entry.
You may set mask like
CCCCCCCCCCCCCCCC@?????????????.LLL
and process ClientSideEvents.KeyDown event with cancelation of any entry beyond letter-digit-underscore-dash-MayBeSomethingElse (that is rather easy to implement).
That will limit entering space, quotes, etc for CCCCC...
If you set DataMode=RawTextWithLiterals, and user will enter "myname______@provider______.com", then the Value property will return "myname@provider.com"
Thanks for the creative solution. Maybe for a future release, have WebMaskEdit support RegEx.
-Andy