range.png

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] (2 be default)
  • Show prefix & suffix (TRUE be default)

Sponsorship

This module is sponsored by Lemberg Solutions.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0 tar.gz (10.98 KB) | zip (12.09 KB) 2013-Feb-11 Notes
6.x-1.1 tar.gz (11.58 KB) | zip (12.79 KB) 2009-Feb-21 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (11.4 KB) | zip (12.52 KB) 2013-May-25 Notes
6.x-1.x-dev tar.gz (12.72 KB) | zip (13.6 KB) 2013-May-25 Notes

Project Information


Maintainers for Range

  • Taran2l - 12 commits
    last: 14 weeks ago, first: 26 weeks ago

Issues for Range

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here