CCK Select Other introduces an alternative select list widget that provides a user with either a select list or text input.
Features
- Uses native core List fields, which allows to swap out the select widget at any time.
- Provide a field formatter.
- Supports views filter.
- Support custom Other label.
- Drupal 8 and greater
- Uses allowed value.
- Drupal 6-7
- Supports allowed values and stores options in separate configuration.
- 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-alpha1 released.
- 8.x-1.x: 1.4 stable released.
- 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.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: Content Editing Experience, Content Display, Site Structure
- 559 sites report using this module
- Created by mradcliffe on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
gitlab ci changes, drop support for 8-9
Development version: 2.0.x-dev updated 1 Nov 2023 at 13:19 UTC
Markup and JavaScript related fixes, Drupal 10
Development version: 8.x-1.x-dev updated 12 Dec 2023 at 19:36 UTC
miscellaneous bug fixes since 1.1
Development version: 7.x-1.x-dev updated 8 May 2016 at 18:10 UTC