As far as I know, you need to process the field manually in your models prepareTable
function.
You can access the file using this:
$jinput = JFactory::getApplication()->input;
$files = $jinput->files->get('jform');
$file = $files['myfilevalue']
The $file array then holds the following keys:
- error
- name
- size
- tmp_name
- type
You also need to actually move the uploaded file to the final destination. This can be done using JFile::upload()
.
Also make sure your form has the enctype="multipart/form-data"
set, otherwise it will not work.