No value stored by file upload field
I have a form in a simple module with a file upload field:
$fields['image_file'] = array('type' => 'file', 'label' => 'PHOTO', 'upload_path' => $upload_path, 'overwrite' => TRUE);
I would like to use the original name of the uploaded file in some "after post" processing, but no value seems to be stored in $values['image_file']. It is set, but it is empty.
An easy way to do this?
Comments