Add a String Field to a Content Type

Prev Next

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.

Who can use this feature?

Owner | Developer | Publisher | Author (submit for review)  

Instructions

  1. Navigate to Content Types on the left-hand side and select your desired Content Type Content Type tab in left navigation with a Category selected.

  2. Click Add FieldPlus sign button in lower right corner of screen.

  3. Select Stringstring button.

  4. Add a Field Namefield name.

    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.

  5. Select Create and edit fieldcreate and edit field button.

  6. Configure Common fields common tab fields.

    • 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

  7. Configure Validation fields validation tab fields.

    • 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

  8. Configure Editing fields editing tab fields.

    • 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. maskinput phone number example.

      • 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

  9. Click Save and close Save and close button.