You are here

function ddf_selector_element_value in Dynamic dependent fields 7

Replacement for form_type_select_value() functions for selectors.

1 string reference to 'ddf_selector_element_value'
ddf_field_widget_options_select_form_alter in ./ddf.module
Implements hook_field_widget_WIDGET_TYPE_form_alter().

File

./ddf.module, line 454

Code

function ddf_selector_element_value(&$element, $input, $form_state) {
  $element['#after_build'][] = 'ddf_remove_validation';
  return form_type_select_value($element, $input);
}