An Input Mask is a string expression used to control user input in a specific format. The purpose of Input Masks is to help users enter data correctly and consistently by providing a visual guide that enforces that specific format.
Applicable Roles
- Administrator
- HR Admin
- HR Team
- Forms Administrator
Pre-requisites
- Form Management: Process Form Set-up & Creation – SchoolFront
- Process Forms: Custom Fields – SchoolFront
Contents
Add Input Mask Expression to a Custom Field
Input Masks
Characters and Definitions:
Expressions:
Adding an Input Mask Expression to a Custom Field
- Navigate to Process Forms / Form Management
- Select the form you wish to add the mask to by clicking the magnifying glass:
- When the form displays below, click the "Custom Fields" Tab
- Click "New Field":
- In the pop-up, enter the:
- Field Name
- Ensure the Custom Field Type drop-down is set to "Text - Short (max 100 characters)"
- Enter the Custom Field Display Name
- Add the Input Expression to the Mask Option field as shown below
- Click Save:
Now, the form end user will not be able to complete the form unless the field entered is in the correct format. Here is how the fields will look on the form from their Input Mask Expressions: