file form field : Uncaught TypeError: Cannot read property 'options' of undefined
Sorry for many questions
in my frontend controller , I use form builder
$fields ['article'] = array("type" => "file" ,"folder" => "docs/", "accept" => "doc|docx|xml" , "multiple" => FALSE , 'label'=> lang("file")." *" );
when the form load , this error appear in consol "Uncaught TypeError: Cannot read property 'options' of undefined" it points to
// setup multi-file naming convention
$.fn.MultiFile.options.accept = jqx_config.assetsAccept;
and on submit it says that article field is empty
var_dump($this->input->post('article')); returns string(0)
any help please
fuel version is 1.3
Thanks
Comments