Prepares a #type 'hidden' render element for theme_input().
array $element: An associative array containing the properties of the element. Properties used: #name, #value, #attributes.
array The $element with prepared variables ready for theme_input().
function form_pre_render_hidden($element) {
$element['#attributes']['type'] = 'hidden';
element_set_attributes($element, array(
'name',
'value',
));
return $element;
}