a formatting pattern applied to a text input
Available only in PRO Edition
// input formatting pattern set as object
{
view:"text",
name:"phone",
label:"Phone",
pattern:{ mask:"###-## ########", allow:/[0-9]/g}
}
// input formatting pattern set as string
{ view:"text", name:"phone", label:"Phone", pattern:"###-## ########"}
If set as an object, pattern includes two properties:
If pattern set as a string, the allow property will take the default value - /[A-Za-z0-9]/g.