The Webform Composite Sortable module adds draggable sorting (weights) for Webform composite sub-elements in the configuration UI.
This module extends all Webform composite elements to support manual reordering of their sub-elements through a drag-and-drop interface in the element configuration form.

Features

  • Automatic integration with all composite element types (Address, Contact, Name, etc.)
  • Weight-based sorting that persists across form edits
  • No additional configuration required
  • Clean, minimal code implementation

Post-Installation

No additional configuration is needed. Once enabled, the module automatically adds a "Weight" column with drag handles to all composite element configuration tables in the Webform UI.

To reorder sub-elements:

  1. Navigate to a webform and add or edit a composite element
  2. Go to the element's settings
  3. In the composite element configuration table, drag rows to reorder sub-elements
  4. Save the element configuration

The order will be preserved and reflected in the form display.

Additional Requirements

This module requires the following module:

Short name
webform_composite_sortable
Supporting organizations