Wijmo UI for the Web
InputMask
Wijmo User Guide > Widgets > Input Widgets > InputMask

The wijinput widgets allow you to create masked, numeric, percentage, currency and date inputs, depending on the type of data users will be entering. This widget, the wijinputmask, improves the efficiency and accuracy of data entry by controlling the values users can enter into a text box. The wijinputmask widget uses a mask to distinguish between proper and improper user input. You can define the mask using the maskFormat option.

If you define an edit mask, each character position in the control maps to either a special placeholder or a literal character. Literal characters, or literals, can give visual cues about the type of data being used. For example, the parentheses surrounding the area code of a telephone number and dash are literals: (412) 123-4567. The edit mask prevents you from entering invalid characters into the control and provides other enhancements of the user interface.

For a listing of all of the options, methods, and events available on this widget, please see the API docs for wijinputmask.

Please note that the input widgets are not adaptive for mobile applications.

In this section

Quick Start

Main Elements

Markup and Scripting

InputMask Concepts

Note: Check the Version History for an outline of new features, improvements, and changes to the Wijmo widgets.

 

See Also

KO

Reference