Skip to Main Content
Categories Form Designer
Created by Guest
Created on Mar 5, 2024

Allow for more than one text mask format

Occasionally I encounter the need to use a text mask input validation in a Text - short field but with more than one possible format. For example, I have a field for entering a Social Security number or Tax ID number (SSN/TIN). Of course, SSNs are in the format NNN-NN-NNNN. But Tax IDs, if they are for a company, will be in the format NN-NNNNNNN. Both are 9 digits, and I can limit the input that way, but it would be nice if I could set a text mask validation of 999-99-9999 and 99-9999999. Our previous forms software allowed for this, with commas separating the accepted formats.

  • Attach files