You are here

function theme_range in Range 6

FAPI theme for an individual number element.

The textfield is already rendered by the textfield theme and the HTML output lives in $element['#children']. Override this theme to make custom changes to the output.

$element['#field_name'] contains the field name $element['#delta] is the position of this element in the group $element['#field_settings] contains the min and max range values

File

./range.module, line 616
Defines numeric fields within a range of possible values and displays them colored accordingly..

Code

function theme_range($element) {
  return $element['#children'];
}