Extjs 4.1 - Multi select and upload file

extjs, extjs4.1

Solution

{
    xtype:'fileField',
    listeners:{
        afterrender:function(cmp){
            cmp.fileInputEl.set({
                multiple:'multiple'
            });
        }
    }
}

Problem

I see this tutorial in http://www.rahulsingla.com/blog/2012/03/extjs-3-enabling-multiple-file-uploads-using-textfield#comment-2097 i try it like below but i can't select multi file to upload ``` items: [{ xtype: 'textfield', name: 'name[]', fieldLabel: 'Name', inputType: 'file', fieldLabel: 'Multiple file selection', autoCreate: { tag: 'input', type: 'text', size: '20', autocomplete: 'off', multiple: 'multiple' } }] ``` Here is my code http://jsfiddle.net/baKxc/ What should i do to make that work thank. Edit: If i do in this post. It looks great, but i can't get file in php server. How can i do to work thank

Original source