You are here

function range_field_widget_validate in Range 7

FAPI validation of an individual range element.

1 string reference to 'range_field_widget_validate'
range_field_widget_form in ./range.module
Implements hook_field_widget_form().

File

./range.module, line 706
Defines range field types.

Code

function range_field_widget_validate($element, &$form_state) {
  range_field_widget_validate_subelement('from', $element, $form_state);
  range_field_widget_validate_subelement('to', $element, $form_state);
}