Using Variable field names in a file upload

tshirley 28 Sep, 2016
Hello,

I would like to set up a form where a user can upload a variable number of files.

I can set up the multiplier container with field names such as file[__N__] in the format given in the demo form example, but I don't see how I can use those names in the File Upload action - it appears the field names must be hard coded there.

So does this mean I have to set a limit on the number of uploads, and hard code file[1], file[2] ..... in the File Upload action?

Cheers

Tim
GreyHead 28 Sep, 2016
Hi Tim,

The Files Upload action supports arrays - add the name (without the []) in the Array Fields box of the action.

Bob
This topic is locked and no more replies can be posted.