You are here

function _datex_form_set_input in Datex 7.2

Helper functin copied from core to set input rather than value.

2 calls to _datex_form_set_input()
_datex_element_validate_callback in ./datex_date.inc
Form element validation callback.
_datex_popup_element_validate_callback in datex_popup/datex_popup.module
Form element validation callback.

File

./datex_date.inc, line 56
Provides Jalali support for date module.

Code

function _datex_form_set_input($element, $input, &$form_state) {
  drupal_array_set_nested_value($form_state['input'], $element['#parents'], $input, TRUE);
}