FieldMasks (Component)
The FieldMask object lets you associate an input and output mask with custom element fields added to a display template. The operations performed by a mask are performed by ColdFusion modules. For example, you can use a mask to standardize date or phone number format or to control rendering of stored values, for example, to substitute an employee's full name for the employee's ID.
Methods marked below with [L] may be logged at the site level (if transaction logging is licensed and enabled by the administrator)
Customization is not supported for this component.
Methods:
delete [L] | Deletes a field's mask. |
getList | Returns zero or more structures, each containing information on field masks registered for the site. The 'fieldTypeID' tells CommonSpot to return information for just that field mask. |
getModules | Returns zero or more structures, each containing information on the input and output modules associated with a field mask. 'Standard' modules reside in the site's '/masks/' directory. 'Explicit' modules reside in server-relative URLs. |
save [L] | Saves a field mask. |