On Sep 25, 10:53 pm, RNHurt <rnh...@gmail.com> wrote:
> On Sep 18, 2:40 pm, leofromrio <leofrom...@gmail.com> wrote:
>
> > I am having the same exact problem but I can't find the answer anywhere.
> > Have you found a solution?
>
> Chalk me up to having the same problem.  I have tried various
> combinations of the MultiFile() parameters and nothing seems to work
> at all.  It just duplicates the original element name for every single
> instance.  Here is what I have tried so far, all with no luck at all:
>
>   $('#FileUpload').MultiFile({ namePattern: '$name[$i]' });
>   $('#FileUpload').MultiFile({ namePattern: '$name-$i' });
>   $('#FileUpload').MultiFile({ STRING: { namePattern: '$name-$i' } });
>
> Any suggestions?  I am running jQuery 1.3.2, jQuery-UI 1.7.2,
> Thickbox, jrails.

OK, I got around this problem by editing the MultiFile source code and
hard coding my pattern.  It's not pretty but it works.  Just search
the MultiFile source code for "### Default Settings ###" and edit the
namePattern.

Good luck!

Reply via email to