namePattern not working in version 1.29
| Project: | Multiple File Upload |
| Version: | 1.2.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
It appears that the namePattern is not working in either packed or unpacked versions of jquery.Multifile.
The following test will demonstrate the problem:
//add to document.ready
$(':file').MultiFile({namePattern:'$name_$i'});create form file input:
<input type="file" maxlength="5" class="multi" name="attfile" id="attfile" />
Then try to add files, look in Firebug and you see each input with the same name instead of the desired name_1,name_2 etc.
I can't use the plugin without this functionality as nothing gets uploaded if it has the same name.
