Recommended releases

Download Released

Adds a "Remove" button to fields with unlimited values. It will work with these
fields: addressfield, date, email, entityreference, link, number, telephone,
text area, textfield.

Installation

Install this module using the official Backdrop CMS instructions at
https://backdropcms.org/guide/modules.

Configuration

There is no configuration. It will appear automatically on fields with the
"unlimited" option.

For developers

You can add this functionality to others field widgets by declaring the
following hook:

function hook_multiple_field_remove_button_field_widgets_alter(&$fieldwidgets) {
  // Add new widget type in the array $fieldwidgets
  $fieldwidgets[] = 'custom_field_type';
}

Or, alternatively, you can remove this functionality from field widgets by
declaring the following hook:

function hook_multiple_field_remove_button_skip_widgets_alter(&$skipwidgets) {
  // Add new widget type in the array $skipwidgets
  $skipwidgets[] = 'custom_field_widget';
}

License

This project is GPL v2 software. See the LICENSE.txt file in this directory
for complete text.

Maintainers

Credits

Ported to Backdrop by Herb v/d Dool.

Drupal version currently maintained by: