function _webform_action_set_textfield in Webform 7.4
Implements _webform_action_set_component().
File
- components/
textfield.inc, line 293 - Webform module textfield component.
Code
function _webform_action_set_textfield($component, &$element, &$form_state, $value) {
$element['#value'] = $value;
form_set_value($element, $value, $form_state);
}