--- 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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=MFXO3K7UjBcA1iuMT%2FBDbFtJTvN8TTG4Uwx%2BPYNlpgA%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=GXtj2i%2BwVdvQ0ImTrIxGrt3GPq8TUiaZelUBBVe6Yjg%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=WrlvOk%2BNMXt26%2BzIyhaeXup1Vtm43ctICjstYH7e9SU%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=D3n%2Bm1acICnz83MSVYL%2FXLnGYS%2BldY3N5yOc6YDvVbI%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=MGN7sEUzVVx9oEi7OHFzLKCiQK%2B%2F1YZaxO46yqvx%2FH4%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=IGPnirv%2FMapMFE5es5%2BsuKBM105Yg7vaQSm%2FDE4aOaI%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=1E9VqKMLEEs9MS8MdvB5KHhE32Jutj9M8L4qU1hsxrY%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=5TV826wnuM%2FECYOeduHXtOY%2F%2Br0QWoA3Oj6F4kWfxuA%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-21T21%3A32%3A27Z&se=2026-11-21T22%3A32%3A27Z&sr=b&sp=r&sig=jkGVrrU02uLl81sBkRMo7zfpIiSxdnpoqCyXhEs%2B%2BQM%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.