#D8CX: I pledge that Range will have a full Drupal 8 release on the day that Drupal 8 is released.
Most parts of the D7 version has been ported. See issue queue for details.
Important notice for D6 users
This module provides general range field that could be used in various situations.
This module doesn't provide a D6 functionality.
This module is inspired by core
Number module and inherits it's features. It provides numeric range field.
Range field allows to save two numeric (integer, decimal or float) values (from and to), which represents some kind of range (for example: age range).
- Integer range (range_integer)
- Float range (range_float)
- Decimal range (range_decimal)
Range field has the same instance settings as Number field:
- Minimum and maximum values
- Prefix and suffix (separate for the FROM and TO values)
- Precision and scale [for decimal ranges]
- Decimal separator [for decimal and float ranges]
- Form subelements labels
- Two textfields
- Formatted string
Module uses the same formatter options as core Number module and new option for range separator:
- Range separator (
- Combine equal values into a single one (
- Thousand separator (
- Decimal separator [for decimal & float ranges] (
- Scale [for decimal & float ranges] (
- Show FROM value prefix & suffix (
- Show TO value prefix & suffix (
- Show FIELD value prefix & suffix (
Third party modules support
This module is sponsored by Lemberg Solutions.
D6 version, originally created by robertgarrigos[DEPRECATED]
This module defines numeric fields within a range of possible values and displays them colored accordingly: red for out of range numbers and green for in range numbers. Also, the minimum and maximum range figures are also printed along the main value in view mode. An example of use of this module would be listing blood analysis values.
Most of the code containt in this module commes from the number.module containt in cck.
See http://drupal.org/node/303397 for why I created a new module instead of posting a patch.