|
Access compatible masking support
Quoting the "Designing for Web or Desktop" article published
by Microsoft which mentioned the following: "Another problem with
standard HTML elements is that they have no standard way of providing
an input mask. A lot of users like knowing the format into which they
should enter data. For example, a phone number can be entered in many
different ways." showing that true mask input control is something
that was never possible in web-based environment before WebInput.NET.
Certainly, developers can find a lot of resources on the Internet to find
some basic input control that support s some masking expression, however
they are often incomplete, buggy and have very limited functionalities.
The masking support in web-based environment is completely difficult to
do, recognizing the data parsing, validation process, per-character processing,
client side formatting, and still not to mention the server side validation,
server side masking support and comprehensive masking capability up to
Windows-equal desktop application such as Microsoft Access
.
Intersoft WebInput.NET marks a new leap of web component that has broken
the biggest barrier in web-based development environment, with its capability
to comply with Access masking expression. That means, developers can now
provide excellent and rich input in their web applications for entry fields
such as Social Security Number, Extension, Phone Number in any culture,
any formats as long as it conforms to the Access masking specification.
WebInput.NET's masking support can be used along with other features such
as highlighting, value spinning and more.
Supported data type:
MaskType.DateTime
Requires the EditFormat.Format expression (must be synchronize with the
EditFormat.MaskInfo.MaskExpression). Auto short (ddd) and long (dddd)
day name fill with first month name character. Auto short (MMM) and long
(MMMM) month name fill with first month name character. Support spinning
value. HighLightType.Phrase is recommended.
Display Mode
Requires the EditFormat.MaskInfo.MaskExpression.EditFormat.Format expression
(must be synchronize with the EditFormat.MaskInfo.MaskExpression) Support
spinning value. HighLightType.Character is recommended.
Edit Mode
Does not require the EditFormat.MaskInfo.MaskExpression. Requires the
EditFormat.Format expression. Special behavior of number masking with
no predefined placeholder. Does not support spinning value. Does not support
highlighting.
Display and Edit Mode
Requires the EditFormat.MaskInfo.MaskExpression. It does not require the
EditFormat.Format expression. Support spinning value. HighLightType.Character
is recommended.
Supported Masking Character:
0
Digit (0 to 9, entry required, plus [+] and minus [–] signs not allowed).
9
Digit or space (entry not required, plus and minus signs not allowed).
#
Digit or space (entry not required; spaces are displayed as blanks while
in Edit mode, but blanks are removed when data is saved; plus and minus
signs allowed).
L
Letter (A to Z, entry required).
?
Letter (A to Z, entry optional).
A
Letter or digit (entry required).
a
Letter or digit (entry optional).
&
Any character or a space (entry required).
C
Any character or a space (entry optional).
. , : ; - /
Decimal placeholder and thousand, date, and time separators (separator:
A character that separates units of text or numbers.) . (The actual character
used depends on the settings in the Regional Settings Properties dialog
box in Windows Control Panel).
<
Causes all character to be converted to lowercase.
>
Causes all character to be converted to uppercase
Other character
display as literal character.
|