Add the Number Field to a Content Type

Prev Next

This article will show you how to add the Number field to a Content Type in the HCMS. The Number field type allows you to input ID numbers, order numbers, ratings, and quantities.

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 the Department category selected.

  2. Click Add Fieldplus sign button in lower right corner.

  3. Select Numbernumber 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: Add some hints for the user and editor for the field

      • List Field: List fields display as a column in the content list; when no list field is defined, the first field is used

    • Tags: Add tags to annotate your field for automation processes

  7. Configure Validation fields validation tab fields.

    • Unique: Check to indicate that the number must be a unique number, meaning it is not repeated elsewhere

    • Required: Check to indicate the field as required

    • Range: Enter a Minimum and Maximum value

    • Default Value: Enter a default value that will populate the field 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 input button.

        • Inline Editable: Allow for editing

      • MaskInput: Hides the input, for use with currency maskinput button.

        • Masked Input: Choose to mask the selected value

      • Dropdown: Create a dropdown menu Dropdown button.

        • Allowed Values: Enter tags

        • Inline Editable: Check to allow for editing

      • Radio: Create radio buttons radio button.

        • Allowed Values: Enter relevant tags

      • Stars: Input star amounts stars button.

        • Inline Editable: Check to allow for editing

  9. Click Save and close save and close button.