D6 version, originally created by robertgarrigos
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.
D7 version
Overview
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).
Features
Field types:
- 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
- Precision and scale [for decimal ranges]
- Decimal separator [for decimal and float ranges]
Widgets:
- Two textfields
Formatters:
- Default
- Unformatted
Module uses the same formatter options as core Number module and new option for range separator:
- Range separator (
-by default) - Thousand separator (
by default) - Decimal separator [for decimal & float ranges] (
.by default) - Scale [for decimal & float ranges] (
2be default) - Show prefix & suffix (
TRUEbe default)
Sponsorship
This module is sponsored by Lemberg Solutions.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Content Construction Kit (CCK), Fields
- Reported installs: 247 sites currently report using this module. View usage statistics.
- Downloads: 2,057
- Last modified: February 11, 2013
