Dropzone In Repeat Region

Does dropzone work in a repeat region?

Yes as far as I know, Dropzone does work in a repeat region.

Create a new Server Action. Select Multiple Insert from the Database Actions, add your fields as required and a file field, set to Multiple. Go back to the page and use the Form Generator. Select your Server Action you just created. Select the file post variable and convert to Drop Zone. Should be quite simple. I believe there are already some topics covering the subject so a quick search should reveal answers past what I describe above…

Don’t forget it HAS to be a Server Connect form for Dropzone to work :nerd_face:

1 Like

You are all correct, yet it does not display within a repeat. Strange thing is I have never had to do a repeat with a dropzone in it all these years but this project I have to. Please see screen shots




Do you get any browser console errors?

The only console issue seems to be the inability to recognize the form as a server-connect. However within the same form I have other dropzones that work but they are not in repeats.

It’s not clear from your screenshots - where is the form and what’s the whole structure?
Is the form wrapping the repeat with the dropzone components or is the form being repeated in the repeat?
Also when showing your code it’s better to paste it here, not making partial screenshots of it.

Did you copy the form from another page? If so, it might not have added the dependencies to the page. Try adding a Server Connect form to the page and save/deploy

Ah. The form has no action!

So I thought of that, I created a new form and added a drop zone and it worked great but once i placed it in a repeat region it reverts to a normal file upload

1 Like

Ok so I guess nothing on this. No worries I will try to figure out a workaround