CCK Single Select
Component type
Categories
Maintenance status
Development status
Downloads
Component created
Component changed
Overview
This module extends the functionality provided by five modules coming with Content Construction Kit (CCK) for Drupal 6.x:
- Node Reference
- Number
- Option Widgets
- Text
- User Reference
and by the module Select (or other).
It acts when a CCK field of type
- Decimal
- Float
- Integer
- Node reference
- Text
- User Reference
with the widget
- Select list
- Select (or other) list
is added to a content type,
- and the Number of values is kept to 1 (one).
Such a field is a single-value select list.
CCK would natively display such a single-value select list as follows:
- If the field is required, the first selectable option is pre-selected. This would allow the end-user to successfully submit a form without actually selecting anything from a required select list, effectively making the "required" property obsolete.
- If the field is not required (optional), a non-value option "
- None -" will be added on top.
CCK Single Select (this module) changes the first (default) option of each single-value select list as follows:
- If the field is required, a non-submittable customizable option will be added on top (defaults to "
- Please select an option -"). This forces the end-user to actively select one of the provided options in order to successfully submit the form. - If the field is not required, the non-value option on top will be made customizable (defaults to "
- No selection -").
