Multi Value Field Overrides

Component ID

2476509

Component name

Multi Value Field Overrides

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

277

Component created

Component changed

Component body

Ever found yourself wanting to get rid of some of the basic functionality that Drupal automatically adds to mutli-value fields, such as draggable handles, header row, or even add more button? Now you can!

How to use

  • Download and enable the module as per normal.
  • From the "Manage Fields" screen, edit the field in question.
  • Assuming the field can have multiple values, you should see a fieldset titled "Multi value overrides"
  • Use the checkboxes to disable behaviors from this field.

Currently Offered Overrides

  • Disable Draggable: Useful when not required, and end users find it confusing or clients just ask to remove it.
  • Disable Header: Useful when nested inside other structures, such as Field Collection
  • Disable Add More: Edge case when adding/removing items to this field programmatically from other fields via AJAX.
  • Hide remove button: Allows hiding the button provided by the Multiple Fields Remove Button (suggestion by Chewits)
  • Hide empty: Allows hiding the empty field provided by default when editing a node (by Chewits)