--- title: "Add & Manage Patterns" slug: "add-manage-patterns" description: "Patterns are a way to mandate a specific format for field responses in the HCMS. " updated: 2026-07-15T20:59:56Z published: 2026-07-15T20:59:56Z canonical: "www.civicplus.help/add-manage-patterns" --- > ## Documentation Index > Fetch the complete documentation index at: https://www.civicplus.help/llms.txt > Use this file to discover all available pages before exploring further. # Add & Manage Patterns 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,-]+$**. > [!NOTE] > Important Note > > Pattern formatting uses RegEx, which is a character sequence that defines search patterns. ## Add a Pattern > [!TIP] > Who can use this feature? > > Owner | Developer [Embedded content](https://www.iorad.com/player/1578670/HCMS--How-to-Add-a-Pattern-Practice-Tutorial) 1. [Sign in to the HCMS](/civicplus-help-center/docs/sign-in-to-the-hcms) 2. Navigate to **Settings** and select **Patterns**![Settings menu with Patterns selected in the sub-menu.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Settings,%20Patterns%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=NGFxE8QfhQptTociR0D%2FSvfTtBTq29AIAomEL0eTqVA%3D) 3. Scroll to the bottom, if needed, and fill in the fields![Input fields for Name, Pattern, and Message in a user interface form.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Pattern%20Fields%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=O3KMU4VQD9LBflzbCE4BU6GpfkpHTMBd44hlU7la8sw%3D) - **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 4. Click **+** to add**![Input field for address with validation pattern and placeholder text for user guidance.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Add%20Pattern%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=4AVOUBvg9cwD01RM%2BjPoLaD6BjFoOZ5VZHN5wcAdsgk%3D)** --- ## Modify a Pattern 1. [Sign in to the HCMS](/civicplus-help-center/docs/sign-in-to-the-hcms) 2. Navigate to **Settings** and select **Patterns**![Settings menu with Patterns selected in the sub-menu.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Settings,%20Patterns%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=NGFxE8QfhQptTociR0D%2FSvfTtBTq29AIAomEL0eTqVA%3D) 3. Find the pattern and make any applicable modifications ![Input fields for currency and email address validation with error messages displayed.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Modify%20Pattern%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=yMTKfoHaygMpQ%2FQ0f2lzvRoUX8Qwag0M6Xe0SQwqCOg%3D) - **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 4. Click the **blue checkbox** to save changes ![Input field for currency validation with error message and confirmation button displayed.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Save%20Pattern%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=0%2BX%2FiQcI2k8vKGjmO%2FVebX7Yl%2B4iyGrnuvKmMXV2Ayw%3D) > [!WARNING] > **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 1. [Sign in to the HCMS](/civicplus-help-center/docs/sign-in-to-the-hcms) 2. Navigate to **Settings** and select **Patterns** ![Settings menu with Patterns selected in the sub-menu.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Settings,%20Patterns%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=NGFxE8QfhQptTociR0D%2FSvfTtBTq29AIAomEL0eTqVA%3D) 3. Select the **trashcan icon** next to the pattern you would like to delete ![Input fields for States and Address with validation messages displayed below each field.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Delete%20Pattern%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=7UoJO2NDtehz1Rnxb769Jy3Hje5CvWebo%2BYzLMyHMLc%3D) 4. Select **Yes** to the prompt, **Do you really want to remove this pattern?![Confirmation dialog asking to remove a pattern with Yes and No options.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Delete%20Pattern%20Confirmation%20-%20CPA.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A44%3A13Z&se=2026-11-21T22%3A44%3A13Z&sr=b&sp=r&sig=YKb%2FzXAXobuVnBelHP2Z%2BomK5srj55u2jCT%2BxodIs8o%3D)**