You are here

function date_date_popup_pre_validate_alter in Date 8

Same name and namespace in other branches
  1. 7.3 date_elements.inc \date_date_popup_pre_validate_alter()
  2. 7.2 date_elements.inc \date_date_popup_pre_validate_alter()

Implements hook_date_popup_pre_validate_alter().

File

./date_elements.inc, line 456
Date forms and form themes and validation.

Code

function date_date_popup_pre_validate_alter(&$element, &$form_state, &$input) {
  date_empty_end_date($element, $form_state, $input);
}