Hi Everyone,
I have setup a new module and created a Form via Utils/FileUpload.
public function admin() {
if($this->is_back())
$this->parent->reset();
$form = $this->init_module('Utils/FileUpload',array(false));
$form->addElement('header', 'settings', __('File 1 Template'));
$form->add_upload_element();
$form->addElement('header', 'set', __('File 2 Template'));
$form->add_upload_element();
Base_ActionBarCommon::add('save',__('Save'),$form->get_submit_form_href());
Base_ActionBarCommon::add('back',__('Back'),$this->create_back_ref());
$this->display_module($form, array( array($this,'submit_all') ));
}
So it shows "File 1 Template", then the file upload, then the next header "File 2 Template" and thats it... doesn't show the next file upload.
This is a bug? or a limitation? or am I coding it wrong?
I have 2 file uploads because both files have to be renamed in 2 different places.
Thanks,
jjjj12212
