<INPUT TYPE="FILE" NAME="file">
and the form needs to have:
METHOD=POST ENCTYPE="multipart/form-data"
if you want to actually send the file to the server.
edit:
to put this in $form:
$form = array(
'style' => 'tall', // or 'wide'
'title' => 'My File Form', // <h2>My File Form</h2>
'tags' => 'NAME="myform" METHOD=POST ENCTYPE="multipart/form-data"',
'fields' => array(
array(
'type' => 'static',
'value' => '<INPUT TYPE="FILE" NAME="file">',
),
)
);
EDIT2: You need a layer, i think, not just a plugin module. Put this in a custom layer:
function form($form)
{
if ($this->template=='admin' && $this->request == 'admin/plugins' && strpos(@$form['title'],'mytitle')) {
$form['tags'] = 'METHOD=POST ENCTYPE="multipart/form-data" ACTION="mypage" '.@$form['tags'];
}
qa_html_theme_base::form($form);
}