[intro]     [up]

InputMask - Constants

All constants declared on this script are detailed here


Default value constants
Contants that determine default values
JST_DEFAULT_ALLOW_NEGATIVE
Will NumberMask allow negative values by default?
JST_DEFAULT_DATE_MASK_VALIDATE
Will the DateMask validate the typed date?
JST_DEFAULT_DATE_MASK_VALIDATION_MESSAGE
The default message for DateMask validation errors
JST_DEFAULT_DATE_MASK_YEAR_PAD_FUNCTION
The default padFunction for year fields
JST_DEFAULT_LEFT_TO_RIGHT
Will NumberMask input be from left to right by default?
JST_MASK_VALIDATE_ON_BLUR
Will InputMask validate the text on the onblur event?
JST_NUMBER_MASK_APPLY_ON_BACKSPACE
Will InputMask apply the mask when the user strokes a backspace?


Prebuilt field arrays
Fields to be used on the InputMask
JST_MASK_ALPHA
Allow letters and numbers only
JST_MASK_ALPHA_LOWER
Allow lowercase letters and numbers only
JST_MASK_ALPHA_UPPER
Allow uppercase letters and numbers only
JST_MASK_CAPITALIZE
Allow capitalized letters only
JST_MASK_DATE
Allow ##/##/#### only
JST_MASK_DATE_TIME
Allow ##/##/#### ##:## only
JST_MASK_DATE_TIME_SEC
Allow ##/##/#### ##:##:## only
JST_MASK_DECIMAL
Allow numbers and a decimal separator only
JST_MASK_LOWER
Allow lowercase letters only
JST_MASK_NUMBERS
Allow numbers only
JST_MASK_UPPER
Allow uppercase letters only