Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1085

Input Text Mask

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • 1.3.0-rc1
    • None
    • wicket-extensions
    • None

    Description

      Allow developers to designate a keystroke input pattern for the input text component. The pattern would be used on the client to control valid keystrokes for the current cursor position within the input text field in relation to the specified pattern.

      For example, a pattern could be designated as "(999)9999" causing only number values in each position where a "9" appears and using the "(", ")", and "" as masking characters. When the cursor position reached one of these mask characters the cursor position would advance to the next "9" position. The resulting mask would appear as "(__)_-___" within the input text value.

      Attachments

        1. inputTextMask.js
          14 kB
          Will Hoover

        Activity

          People

            Unassigned Unassigned
            whoover.nemours Will Hoover
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: