--- 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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=LYfbKqo8BdrMINCnfAaJeFZoEl9LoirQ4Ey30kkxUgY%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=4Qazv6mbz7e4bIexs291N1w6zazjrQ8Wxu8lJ8PU2P0%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=d32d0kNYQvoMzVfifzIFYOsx2KretGmLyMoxHGguCUI%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=hg0Gs0kj%2FrBhrLY5FfuQyBdDwtoud6eL3ZdJJlCD1R8%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=jVi%2Ff75XN7eUvnBUv7rIAUDVEzZaU0djUiF6GVNe5Rc%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=verXsqAaM803ilvU07abV2KjW4QoQBQMNZJA12KOSgo%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=aRi1Y5Ab0WetSGq5MjNH0wEB1fnBvdAniiQf9eNG58Y%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=bqXvC4XlSKS65ETZ1xe1mt0xKRscwlpBXqb5JzCegg8%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%3A44%3A26Z&se=2026-11-21T22%3A44%3A26Z&sr=b&sp=r&sig=Rg5CNMLW893wKssO4MTFEJFx4%2BUyyep8iYcwNaQtLQo%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.