Patterns are a way to mandate a specific format for field responses in the HCMS. For example, you could set a field that must follow the pattern of an email address. Owner roles can create new patterns with RegEx (regular expressions).
Example: For the Address field, the pattern would be ^[#.0-9a-zA-Z\s,-]+$.
Important Note
Pattern formatting uses RegEx, which is a character sequence that defines search patterns.
Add a Pattern
Who can use this feature?
Owner | Developer
Navigate to Settings and select Patterns

Scroll to the bottom, if needed, and fill in the fields

Name: Name of the field validator
Pattern: Pattern to use for the field validation; for example, MM/DD/YYYY
Message: Message that appears when a field validation fails
Click + to add

Modify a Pattern
Navigate to Settings and select Patterns

Find the pattern and make any applicable modifications

Name: Name of the field validator
Pattern: Pattern to use for the field validation; for example, MM/DD/YYYY
Message: Message that appears when a field validation fails
Click the blue checkbox to save changes

Note: If a user modifies the pattern, all Content Types that use the pattern will also be updated to the new pattern.
Delete a Pattern
Navigate to Settings and select Patterns

Select the trashcan icon next to the pattern you would like to delete

Select Yes to the prompt, Do you really want to remove this pattern?
