--- title: "Add a Geolocation Field to a Content Type" slug: "add-a-geolocation-field-to-a-content-type" description: "Learn how to add a Geolocation field to your HCMS Content Type with step-by-step instructions for owners, developers, and publishers." updated: 2026-07-08T19:40:57Z published: 2026-07-08T19:40:57Z canonical: "www.civicplus.help/add-a-geolocation-field-to-a-content-type" --- > ## 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 a Geolocation Field to a Content Type This article will show you how to add the Geolocation field to a Content Type in the HCMS. > [!TIP] > Who can use this feature? > > Owner | Developer | Publisher | Author (submit for approval) ## Instructions [Embedded content](https://www.iorad.com/player/1577761/HCMS--How-to-Add-a-Geolocation-Field-to-a-Content-Type-Practice-Tutorial) 1. [Sign in to the HCMS](/civicplus-help-center/docs/sign-in-to-the-hcms) 2. Navigate to **Content Types** on the left-hand side and select your desired **Content Type** ![Content Types section showing various types including a highlighted Department entry.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Select%20Content%20Type%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=Y4v01TunDXt0ijQnggxLo1LYh1JyguBlrNqYpnivHy4%3D) 3. Click **Add Field**![List of fields with a highlighted button to add a new field.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Add%20Field%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=KYRk2WLHPgvJzgCS115xk3lK1gae%2FYpWtJnrG9YLs0w%3D) 4. Select **Geolocation**![Geolocation highlighted on the Add Field page.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Geolocation%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=wAfC0x7lZsDjGJRg6QtJVHYxE04a992HYBq0wUu%2FSuQ%3D) 5. Add the **Field Name** ![Input field for entering a field name in a user interface design.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Field%20Name%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=sqziOYy4jUMKWTx%2BNckLutkUAnD6Oy1w5EE1cMsUv6k%3D) > [!WARNING] > **Note**: > > The field name can only contain letters with no spaces and cannot be changed. The display name can be edited in the Label section. 6. Select **Create and edit field**![Buttons for creating and editing fields in a user interface layout.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Create%20and%20Edit%20Field%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=oghizPanX0Q3KFSbEeM3FRn0IjyohZ%2FqYq2vheNaXVY%3D) 7. Configure **Common** fields ![Form fields for editing an address, including name, label, hints, and tags.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Field%20Common%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=hzzRelYcoKgxX4v0FzmvE6mhzMaemp4PJkCe%2FfSD2hQ%3D) - **Name** (non-editable): Name of the field in the API response - **Label**: Define the display name for the field for documentation and user interfaces - **Hints**: Define some hints for the user and editor for the field for documentation and user interfaces - **Tags:** Add tags to annotate your field for automation processes 8. Configure **Validation** fields ![Form fields for state and ZIP code validation with regex patterns and messages.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Field%20Validation%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=pIhnSdRuar8xR4mPy2WkvUim16K1fi6lVgUj0UvW2dM%3D) > [!WARNING] > **Note**: > > You must select **State** and/or **ZIP** fields under **Editing** for State and ZIP code patterns/messages to activate. This ensures that the user enters the correct State and/or ZIP code. - **Required**: Check to indicate the Geolocation field as required - **State Pattern**: Add Regex pattern - **State Pattern Message**: Add a message - **ZIP Code Pattern**: Add Regex Pattern - **ZIP Code Pattern Message**: Add a message 9. Configure **Editing** fields ![Editing field settings with options for address and map display fields.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Field%20Editing%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=PgDMGkhBY%2FTXl%2FOmmtYASxe5yOx1ETjGMOK%2Bb4yvv%2Bc%3D) - **Editor URL**: Add a URL to your plugin if you use a custom editor - **Editor**: Choose **Map** or **No Map** (display or do not display map) - **Display Fields**: Select which fields to display (Address 1, Address 2, City, State, ZIP Code) 10. Click **Save and close** ![The Save and close button is highlighted on the content type page.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20Save%20and%20Close%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A07%3A24Z&se=2026-11-22T14%3A07%3A24Z&sr=b&sp=r&sig=rZ%2BQszu5LH8OSLiSWfyTSVBY34iVIvheit1ae6j5stQ%3D) Application Programming Interface. A set of rules that allows programmers to develop software for a particular operating system without having to be completely familiar with that operating system. Uniform Resource Locator Zone Improvement Plan. A number that identifies a particular postal delivery area in the United States.