Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

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
Description

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.