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
{
xtype:'fileField',
listeners:{
afterrender:function(cmp){
cmp.fileInputEl.set({
multiple:'multiple'
});
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With