MaskedTextBox API Reference


animation string advanced
allowPromptAsInput boolean false
asciiOnly boolean false
autoFocus boolean false
autoShowMask boolean false
cutCopyMaskFormat string excludePromptAndLiterals
disabled boolean false
enterKeyBehavior string submit
hidePromptOnLeave boolean false
hint string
isOverwriteMode boolean false
label string
locale string en
localizeFormatFunction function null
mask string #####
maskCompleted boolean false
maskFull boolean false
maxLength number 5
messages object {“en”:{“propertyUnknownType”:”‘{{name}}’ property is with undefined ‘type’ member!”,”propertyInvalidValue”:”Invalid ‘{{name}}’ property value! Actual value: {{actualValue}}, Expected value: {{value}}!”,”propertyInvalidValueType”:”Invalid ‘{{name}}’ property value type! Actual type: {{actualType}}, Expected type: {{type}}!”,”elementNotInDOM”:”Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.”,”moduleUndefined”:”Module is undefined.”,”missingReference”:”{{elementType}}: Missing reference to {{files}}.”,”htmlTemplateNotSuported”:”{{elementType}}: Browser doesn’t support HTMLTemplate elements.”,”invalidTemplate”:”{{elementType}}: \”{{property}}\” property accepts a string that must match the id of an HTMLTemplate element from the DOM.”,”invalidNode”:”{{elementType}}: Invalid parameter \”{{node}}\” when calling {{method}}.”}}
name string
placeholder string
promptChar string _
readonly boolean false
rejectInputOnFirstFailure boolean false
required boolean false
resetOnPrompt boolean false
resetOnSpace boolean false
selectAllOnFocus boolean false
textMaskFormat string excludePromptAndLiterals
theme string
unfocusable boolean false
value string
validation function null


change Event
validation Event


focus Method