How to use the Field Mask Setting

Have more questions? Submit a request

A Field Mask requires the user to input text data in a specific format.

Activating Field Mask on a Short Text Field

Field Masks come in handy if you have a zip code field that needs to be a five digit number, or a customer ID that is always two letters followed by a four-digit number. This is a tool admins and designers can use to guide their users to provide correct responses when a drop down or multi-choice field type is not appropriate.

  1. Launch the Advanced Form Builder or edit an existing form.
  2. Select an existing Short Text field or add one and select the field to open the settings in the left panel.
  3. Expand the More field settings tab.
  4. Enter the desired field mask.

AFB_Short_Text_Field_Mask.png 

Types of Field Masks

There eight different types of field masks. Each character requires a different response. Below is a list of the different characters that can be part of a valid field mask and their meanings.

Required Optional
0: Digit 9: Digit
L: Letter l: Letter
A: Digit or Letter a: Digit or letter
?: Digit, letter, space, symbol, etc.  

Wildcard: * is used to signify an undetermined number of characters.

Note

Asterisk is used for "Starts with" (e. g. 000*) or "Ends with" (e.g. *AAA) but only one wildcard character is allowed per mask and it MUST be the first or last character.

Examples of Field Mask in Use

Example 1 Example 2

If we setup a field mask on a field of AAA* this means that when responding, the user must enter text that meets the following criteria:

  • The response MUST be at least three characters, but can be longer.
  • The first three characters in the response must be either numbers or letters, they cannot be left blank or contain any symbols.
Valid Responses to a Mask of AAA* Invalid Responses to a Mask of AAA*
123456 &78 4
ABCDE ...567
1R47&)/ 89.ABC

 

Please Note

Field Masks are not yet available in Builder BETA.

Articles in this section

Was this article helpful?
3 out of 5 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.