Previous Larryband Javascript Forms Example Next Larryband Javascript Forms Example
Limit Allowed Keystrokes

  • You can limit the keystrokes that the user can type into specific fields. See zpFormAllowed.
  • In the INPUT class, define zpFormAllowed-{d | w | s} to indicate which keystrokes are allowed (digits, alphanumeric or white space).


Limit Key Strokes



The following are the Limit Keystroke rules.
d             Digits only

w             a-z A-Z _

s             whitespace