Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

While building form modes, please ensure the following:

  • Form fields are placed in the logical content flow order that ideally would match the order in which they will appear on the front end

  • All not needed fields for a particular form mode are disabled (hidden)

  • All required fields are marked as such and discussed with the client

  • All fields are set to be translatable on multilingual sites

  • Language selector is hidden from the form mode by default

  • Appropriate form widgets are setup to aid to editorial experience

  • All fields have help text

  • Preview is disabled on the content type

  • Appropriate menu settings, scheduler settings, rabbit hole, sitemap and metatag settings are selected per content type

  • Content moderation is only enabled if required by the client and workflow is properly configured as per client’s requirements

  • Layout Builder is only enabled if required for this content type and proper restrictions are in place. Please read Layout Builder best practices documentation in the wiki.

Kalamuna recommends the following form widget settings for the common fields as a baseline.

Field

Widget

Settings

Implementation Details

Recommended help text

Title

Textfield

Textfield size: 60

At the top of the node form

This is the title of the page/node

Entity reference

Reference type: Media

Media type: Image

Media Library

Add image (hero, promotional…)

Text (formatted, long, with summary)

Text area with a summary

Number of rows: 9

Number of summary rows: 3

Main page content, add a copy of basic textual content such as Privacy Policy, etc.

Authored by

Autocomplete

Autocomplete matching: Contains

Autocomplete suggestion list size: 10

Textfield size: 60

No placeholder

At the bottom of the manage form display list, hidden for component forms that use inline entity reference widget

Author of the node

Boolean

Single on/off checkbox

Use field label: Yes

URL alias

URL alias

At the bottom of the manage form display list, hidden for component forms that use inline entity reference widget

Text (plain, long)

Text area (multiple rows)

Number of rows: 5

Date

Date and time

Date Only

Use Smart Date for the default date implementation

Time

Time widget

Use time module

Entity reference

Reference type: Taxonomy term

Vocabulary

Select list if single value, checkboxes if multivalue, autocomplete if vocabulary is bigger than 10 ~ 15 terms

Select taxonomy term, if you don’t see the term that’s required please add it to the vocabulary prior to assigning it to the page, or ask administrator for help

Authored on

Datetime Timestamp

At the bottom of the manage form display list, hidden for component forms that use inline entity reference widget

Moderation state

Moderation state select

At the bottom of the manage form display list, hidden for component forms that use inline entity reference widget

Link

Linkit

Create Linkit Profile (Content - Generic).

Manage Matchers:

  • Bundle Restrictions: check desired bundle types

  • Bundle Grouping: Group by bundle

  • Limit search results: 100

  • Include unpublished nodes

Use Linkit widget

Icon

Media Library

Tab order: Image, SVG Icon

Use SVG module, allow svg to be show as an image in settings

Select an SVG icon from the media library or upload a new SVG, make sure SVG has view port assigned height and width

Promoted to front page

Check boxes/radio buttons

At the bottom of the manage form display list, hidden for component forms that use inline entity reference widget

Sticky at top of lists

Check boxes/radio buttons

At the bottom of the manage form display list, hidden for component forms that use inline entity reference widget

Language

At the bottom of the manage form display list, hidden for component forms that use inline entity reference widget

Embedded component

Inline entity form

Use inline entity form module with revisions settings

  • No labels