Masked Input Text Boxes

Masked input text boxes are used to auto-format data entered into text fields. These can be used to simplify the input of phone numbers, social security numbers, product codes and so on. Masked input text boxes can only be used with text attributes.

A masked text box used for a phone number in an interview

The input mask defined for the phone number text box above is (999) 999 9999.

A masked text box used for a product SKU in an interview

The input mask defined for the product SKU text box above is A*999AA*.

Note: Masked input text boxes are only available in Latest Version interviews.

To specify the input mask:

  1. Select the masked text box input in the screen list or screen layout view, and click the Input Mask button.

    The Input Mask button on the Interview tab in Policy Modeling
  2. In the drop-down window, enter the input mask using the following mask characters:
    • Use "9" to represent a number
    • Use "A" to represent a letter
    • Use "*" to represent either a number or letter
    • Use "\" before a mask character to treat it literally

    All other characters entered will be treated literally.

    The Input Mask window in Policy Modeling showing the definition of an input mask

In an interview, punctuation defined in the input mask will be automatically inserted as the user types. All invalid input will be ignored.