I am able to find the code for how to upload multiple files in custom form drupal 7 but wants do the same things drupal 6. Can you please suggest if anyone done previously.
function multifile_upload_form($form, &$form_state) {
$form = array();
$form['file'] = array(
'#type' => 'file',
'#name' => 'files[]',
'#title' => t('Upload some multifile'),
'#description' => t('You are allow to upload jpg, jpeg, png and gif, 10MB Max Size'),
'#attributes' => array('multiple' => 'multiple'),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Upload'),
);
return $form;
}

Comments

nevets’s picture

Please do not post the same question multiple times, I have removed the duplicates.

sushilck’s picture

Please can you post this question in correct title so export can reply to us.
We need this issue fix quickly

Thanks for your help