Wijmo UI for the Web
smartInputMode Option
wijmo.input.wijinputdate Namespace > options type : smartInputMode Option

Default value: false

Determines whether the control should interpret 2-digits year inputted in year field. using the value provided in the "startYear" option.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijinputdate("option", "smartInputMode");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijinputdate("option", "smartInputMode", newValue);
        
});
var smartInputMode : boolean;
Remarks
For example, when "smartInputMode" is false (the default value), and "startYear" is 1950.
Enter 2-digit year value which is greater than 50 [e.g., 88]
‘0088’ displays in year part.
Enter 2-digit year value which is less than 50 [e.g., 12]
‘0012’ displays in year part.
Set "smartInputMode" to true.
Enter 2-digit year value which is greater than 50 [e.g., 88]
‘1988’ displays in year part when smartInputMode is true.
Enter 2-digit year value which is less than 50 [e.g., 12]
‘2012’ displays in year part.
See Also

Reference

options type
wijinputdate jQuery Widget