Wijmo UI for the Web
autoConvert Option
wijmo.input.wijinputmask Namespace > options type : autoConvert Option

Default value: true

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

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijinputmask("option", "autoConvert");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijinputmask("option", "autoConvert", newValue);
        
});
var autoConvert : boolean;
Example
// In this example, when input the lower case alphabet, it will be convert to upper case alphabet.
$(".selector").wijinputmask({    
  maskFormat: /\A{3}-\A{4}/,
  autoConvert:true
});
See Also

Reference

options type
wijinputmask jQuery Widget