This is the documentation for ConfiForms Server/Data Center app
However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.
Text masks are generally configured using the following format: 00/00/0000, where 0 shows a place that will be replaced by actual value. Below, you can see some examples. Of course, you can construct your own.
What character can be used in a mask, and what character is accepted as input
Mask | Example | Comment |
00/00/0000 | 23/12/2014 | used for dates |
00.00.0000 | 23.12.2014 | used for dates |
000.000.000.000.000,00 | 1.000,23 | used for money |
00/00/0000 00:00:00 | 23/12/2014 10:12:13 | used for date time |
00/00/0000 00:00:00 | 23/12/2014 10:12:13 | used for date time |
##0,00% | 23% | used for percent |
AAA 000-S0S | xyz 456-e2f | complex |
Another advance feature when you use masks (in 'Masked Text' field) is ability to configure it's type and teach it how the input can be converted when used with filters, for example.
Here is a basic example on how to use 'Masked Text' field and have it as a date type field.
Now the field's value can be converted to date and used as date value when querying, as pattern tells the field about back conversion.
Pattern uses the format used by Java's SimpleDateFormat (for dates) and DecimalFormat (for numbers)