You are here

function _webform_action_set_hidden in Webform 7.4

Implements _webform_action_set_component().

File

components/hidden.inc, line 182
Webform module hidden component.

Code

function _webform_action_set_hidden($component, &$element, &$form_state, $value) {
  $element['#value'] = $value;
  form_set_value($element, $value, $form_state);
}