--- title: "Add a String Field to a Content Type" slug: "add-a-string-field-to-a-content-type" description: "This article will show you how to add the String field to a Content Type. " updated: 2026-07-08T20:01:15Z published: 2026-07-08T20:01:15Z canonical: "www.civicplus.help/add-a-string-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 String Field to a Content Type This article will show you how to add the String field to a Content Type. With a String field, you can add titles, names, and paragraphs. > [!TIP] > Who can use this feature? > > Owner | Developer | Publisher | Author (submit for review) ## Instructions [HCMS: How to Add a String Field to a Content Type Practice Tutorial](https://www.iorad.com/player/1577766/HCMS--How-to-Add-a-String-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%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=M5AGmU9Bs22NPXj9ho5D2hMVJ%2BoTmlRhaSYMvZFsNSI%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%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=TruxHYMNi4%2FBlwUp0PsGZhoVWcS8fOW3gAFEtxQLp8Y%3D) 4. Select **String**![The String button on the Add Field screen.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20String%20Field%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=bvZBA5Gg%2Bl%2F8AfZaYEW79wyFpr9SAXcaDnyu3WoaYvs%3D) 5. Add a **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 Type, Field Name - HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=5GktsG7tWhNRq%2FAFDhE97Ade%2BQAE1UXTNYCI8iZ80ys%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%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=uhRih0b22Pr1%2BD8y21r5fDSiQVt1yicActoNbAJYvd8%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%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=x7KJX2z%2BJSxPYnZhHCLhlyBiwSUvRguPAW0s6R1DYf8%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 ![Field editing options include validation settings for length, pattern, and default value.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20String%20Validation%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=dNojm%2BlXOK8UI9QV0Oqf%2BXlhIbzmJJPiEKHbnlw6Yf4%3D) - **Unique:** Select to make this field unique - **Required**: Check to indicate the string field as required - **Length**: Enter a Minimum and Maximum character limit - **Pattern**: Enter a Regex Pattern - **Default Value**: Enter a default value that will populate the editor but can still be edited 9. Configure **Editing** fields ![Editing field options for input control with various editor types displayed.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20String%20Editing%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=s9ihW3X3OrHPnxi0h%2FfFwgiZIxlAiihIXIDPrwS24fg%3D) - **Editor URL**: Add a URL to your plugin if you use a custom editor - **Placeholder**: Define the placeholder for the input control - **Editor**: Select a type of editor - **Input**: Allows inputs - **Inline Editable**: Allow for editing - **MaskInput**: Hides the input, for use with phone numbers. The field will display underscores and dashes to help assist the person who is using the MaskInput field. ![Input field with error message indicating required format for entry.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Content%20Type,%20String%20Mask%20Input%20-%20HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=L02cQPL87HT1U0v24EGqtKc0EOig8j%2FcvzdgN94TWbE%3D) - **Slug**: Unique string; results in an error message if not unique - **Inline Editable**: Allow for editing - **TextArea**: Free form text editor - **RichText**: Allows for formatting - **Markdown**: Allows for designing text - **Dropdown**: Create a dropdown menu - **Allowed Values:** Enter tags for allowed values - **Inline Editable**: Allow for editing - **Radio**: Create radio buttons - **Color**: Select a color - **HTML**: Adds an HTML editor - **StockPhoto:** Use a stock photo 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%3A23Z&se=2026-11-21T22%3A32%3A23Z&sr=b&sp=r&sig=SAx6BRBijAHZ%2BRgO6YatSq6Ny%2FF9PHrji%2B33iNs1qOk%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 Hypertext Markup Language. The language used to define the content of the site in a structurally meaningful manner.