Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

cck_select_other

374 sites Security covered
View on drupal.org

CCK Select Other introduces an alternative select list widget that provides a user with either a select list or text input.

Features

  1. Uses native core List fields, which allows to swap out the select widget at any time.
  2. Provide a field formatter.
  3. Supports views filter.
  4. Support custom Other label.
  5. Drupal 8 and greater
    1. Uses allowed value.
  6. Drupal 6-7
    1. Supports allowed values and stores options in separate configuration.
    2. 7.x-2.x: Support field collection and other element altering modules.

Known issues

  • Drupal 7: i18n is not supported because i18n does not support form element children correctly.
  • Drupal 8 or greater: Using checkboxes / radio buttons

Release status

  • 2.0.x: 2.0.0-alpha2 released. Drupal 11.
  • 8.x-1.x: 1.6 stable released. Drupal 10 only.
  • 7.x-2.x: Better support for field collection, list_integer. Not ready for production-use
  • 7.x-1.x: 1.2 stable released.
  • 6.x-1.x version is stable and works fine for normal use cases. There are a number of tasks related to advanced use cases such as with conditional field or flexifield.

Drupal 8+: How it works

The decoupling of fields and widgets caused much issue with this module as a field no longer understands what widget a value came from. Despite the benefit of decoupling this means that CCK Select Other MUST re-couple the dependency and blow away reliance on AllowedValuesConstraint and AllowedValuesConstraintValidator classes and redoing everything from scratch. Now any field that uses the select other widget in any form display will pass through allowed values. Don't like it? Fix core.

Drupal 6: How it works

CCK renders the form element as fieldset with multiple elements. When processed the form element is deconstructed into a simple element so that CCK will save the field properly. If validation fails the form element needs to be reconstructed as the fieldset.

Activity

Total releases
2
First release
Dec 2024
Latest release
1 year ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
2.0.0-alpha2 Pre-release Dec 5, 2024
8.x-1.6 Stable Dec 5, 2024