Wijmo UI for the Web
wijinputmask jQuery Widget
Create input boxes to collect information from your users securely with masking characters or with visual cues about the type of data to input.
Syntax
$(function () {
    var options; // Type:  wijmo.input.wijinputmask.options
     
    $(".selector").wijinputmask(options);
});
function wijinputmask() : any;
Options
 NameDescription
public Option

Default value: false

Indicates whether promptChar can be entered as valid data by the user.

 
public Option

Default value: true

Gets whether the control automatically converts to the proper format according to the format setting.

 
public Option

Default value: false

Determines whether or not the next control in the tab order receives the focus as soon as the control is filled at the last character.

 
public Option

Default value: 'none'

Determines whether the focus automatically moves to the next or previous tab ordering control when pressing the left, right arrow keys. Possible values are "none", "left", "right", "both". The default value is "none".

 
public Option

Default value: ""

Determines the culture used to show values in the wijinput widget.

 
public Option

Default value: ""

Assigns the string value of the culture calendar that appears on the calendar. This option must work with culture option.

 
public Option

Default value: 'right'

Determines the side, left or right, where the dropdown button appear. Possible values are: 'left', 'right'

 
public Option

Default value: false

If true, then the browser response is disabled when the ENTER key is pressed.

 
public Option

Default value: false

Indicates whether the prompt characters in the input mask are hidden when the input loses focus.

 
public Option

Default value: 'none'

Determines whether to highlight the control's text on receiving input focus. Possible values are : "none", "field", "all"; The default value is "none";

 
public Option

Default value: 'auto'

Determines the input method setting of widget. Possible values are: 'auto', 'active', 'inactive', 'disabled'

 
public Option

The CSS class applied to the widget when an invalid value is entered.

 
public Option

Default value: ""

Determines the input mask to use at run time.

 
public Option

Default value: ""

Determines the character to be substituted for the actual input characters.

 
public Option

Type: wijmo.input.PickerClass

An object contains the settings for the dropdown list.

 
public Option

Determines the text displayed when the widget is blank and contains no initial text.

 
public Option

Default value: '_'

Determines the character that appears when the widget has focus but no input has been entered.

 
public Option

Default value: false

Determines whether a user can enter a value in the wijinput widget. If readonly is true, user can't input value to the wijinput widget by ui operation, such as spin, pick value from pickers.

 
public Option

Default value: true

Determines how an input character that matches the prompt character should be handled.

 
public Option

Default value: true

Determines how a space input character should be handled.

 
public Option

Default value: false

Determines whether dropdown button is displayed.

 
public Option

Default value: true

Indicates whether the user is allowed to re-enter literal values.

 
public Option

Default value: 'control'

Determines whether the focus will move to the next filed or the next control when press the tab key. Possible values are "control", "field".

 
public Option

Default value: null

Determines the default text.

 
Top
Methods
 NameDescription
public MethodDestroy the widget.  
public MethodOpen the dropdown list.  
public MethodSet the focus to the widget.  
public MethodGets the text value when the container form is posted back to server.  
public MethodGets the selected text.  
public MethodGets the text displayed in the input box.  
public MethodGet a boolean value indicates that whether the widget has been destroyed.  
public MethodDetermines whether the widget has the focus.  
public MethodSelects a range of text in the widget.  
public MethodSets the text displayed in the input box.  
public MethodGets element this widget is associated.  
Top
Events
 NameDescription
public EventThe dropdownButtonMouseDown event handler. A function called when the mouse is pressed down on the dropdown button.  
public EventThe dropdownButtonMouseUp event handler. A function called when the mouse is released on the dropdown button.  
public EventThe dropdownClose event handler. A function called before the widget's dropdown closed.  
public EventThe dropdownOpen event handler. A function called before the widget's dropdown opened.  
public EventThe initialized event handler. A function called after the widget is initialized.  
public EventThe initializing event handler. A function called before the widget is initialized.  
public EventThe invalidInput event handler. A function called when invalid charactor is typed.  
public EventFired when the widget lost focus and caused by the keyboard behavior.  
public EventFired when the widget text is changed.  
Top
See Also

Widgets

InputMask

Reference

wijinputmask jQuery Widget