Skip to content

Stacked widget#

The Stacked widget (custom_stacked) is the default widget. It displays each subfield in a vertical stack, exactly like standard Drupal fields. This layout is ideal when you want full-width editing controls and maximum clarity for complex or nested data.

Settings#

These settings control the outer container, summary label behavior and individual subfield widgets.

Setting Label Description Default
wrapper Wrapper The wrapping element (div, fieldset, or details) details
label_value Label value Optional subfield value to serve as label in details summary
label_limit Label limit Maximum number of characters to display in the label for details summary 60
label_prefix Label prefix Prefix shown before the label in the details summary when label_value is empty Item
open Show open by default Displays details elements as expanded by default TRUE
auto_collapse Auto-collapse Automatically collapses other open details elements when a new one is selected FALSE
fields Field settings Widget settings for each individual subfield Default widget plugin + settings

Field settings (per subfield)

The Custom Field module includes a powerful plugin system that lets you fully customize each subfield.

For every subfield you can:

  • Choose its own widget (just like regular Drupal fields)
  • Override the Label
  • Configure all widget-specific settings

These per-subfield options are managed under the Field settings section for each field widget configuration.