Adding fields to the comments for a content type

Last updated on
23 August 2016

To add fields to the comment form for a given content type:

  1. Navigate to the Content types administration page (Administer > Structure > Content types or
  2. Find the content type for which you'd like to add fields on the comment form, and click "Manage fields" next to it.
  3. Click the "Comment fields" tab.
  4. In the "Add new field" section, enter a human readable "Label" for the field.
  5. In the "Name" field, enter the machine name for the field. (You can only use numbers, lower-case letters, and underscores.)
  6. In the "Select a field type" dropdown list, select one of the following types:
    • Boolean
    • Decimal
    • File
    • Float
    • Image
    • Integer
    • List
    • List (numeric)
    • List (text)
    • Long text
    • Long text and summary
    • Term reference
    • Text
  7. In the "Widget" dropdown, select a widget. The options vary depending on the field type chosen.
  8. Click "Save".